ComOfficeKitby KDAN API Reference for Windows
Table of Contents

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

bool

ClearStrokeHex

True to clear the outline's colour: no outline.

public bool ClearStrokeHex { get; init; }

Property Value

bool

ClearStrokeWidthPt

True to clear the outline's width, back to the default.

public bool ClearStrokeWidthPt { get; init; }

Property Value

bool

Fill

The fill to set: solid, a gradient or a pattern (an image fill cannot be given).

public ShapeFill? Fill { get; init; }

Property Value

ShapeFill

StrokeHex

The outline's colour to set, RRGGBB.

public string? StrokeHex { get; init; }

Property Value

string

StrokeWidthPt

The outline's width to set, in points, from 0 to 1,584.

public double? StrokeWidthPt { get; init; }

Property Value

double?

Methods

Equals(SlideShapeStyleChange?)

public bool Equals(SlideShapeStyleChange? other)

Parameters

other SlideShapeStyleChange

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(SlideShapeStyleChange?, SlideShapeStyleChange?)

public static bool operator ==(SlideShapeStyleChange? left, SlideShapeStyleChange? right)

Parameters

left SlideShapeStyleChange
right SlideShapeStyleChange

Returns

bool

operator !=(SlideShapeStyleChange?, SlideShapeStyleChange?)

public static bool operator !=(SlideShapeStyleChange? left, SlideShapeStyleChange? right)

Parameters

left SlideShapeStyleChange
right SlideShapeStyleChange

Returns

bool