Class SlideShapeStyleChange
- Namespace
- ComOfficeKit.Model
- Assembly
- ComOfficeKit.dll
A change to a shape's style for ReplacingStyle(int, string, SlideShapeStyleChange): each part set
by its value, cleared by its Clear… flag, or, with neither, left as it is.
public sealed record SlideShapeStyleChange : IEquatable<SlideShapeStyleChange>
- Inheritance
-
SlideShapeStyleChange
- Implements
- Inherited Members
Constructors
SlideShapeStyleChange()
public SlideShapeStyleChange()
Properties
ClearFill
True to clear the fill: no fill.
public bool ClearFill { get; init; }
Property Value
ClearStrokeHex
True to clear the outline's colour: no outline.
public bool ClearStrokeHex { get; init; }
Property Value
ClearStrokeWidthPt
True to clear the outline's width, back to the default.
public bool ClearStrokeWidthPt { get; init; }
Property Value
Fill
The fill to set: solid, a gradient or a pattern (an image fill cannot be given).
public ShapeFill? Fill { get; init; }
Property Value
StrokeHex
The outline's colour to set, RRGGBB.
public string? StrokeHex { get; init; }
Property Value
StrokeWidthPt
The outline's width to set, in points, from 0 to 1,584.
public double? StrokeWidthPt { get; init; }
Property Value
Methods
Equals(SlideShapeStyleChange?)
public bool Equals(SlideShapeStyleChange? other)
Parameters
otherSlideShapeStyleChange
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(SlideShapeStyleChange?, SlideShapeStyleChange?)
public static bool operator ==(SlideShapeStyleChange? left, SlideShapeStyleChange? right)
Parameters
leftSlideShapeStyleChangerightSlideShapeStyleChange
Returns
operator !=(SlideShapeStyleChange?, SlideShapeStyleChange?)
public static bool operator !=(SlideShapeStyleChange? left, SlideShapeStyleChange? right)
Parameters
leftSlideShapeStyleChangerightSlideShapeStyleChange