ComOfficeKitby KDAN API Reference for Windows
Table of Contents

Class WordRunFormattingChange

Namespace
ComOfficeKit.Model
Assembly
ComOfficeKit.dll

A change to each run's WordRunFormatting, for ApplyFormatting(WordScenePosition, WordScenePosition, WordRunFormattingChange): a member left null is left as each run has it; a Clear… member set to true clears an optional one.

public sealed record WordRunFormattingChange : IEquatable<WordRunFormattingChange>
Inheritance
WordRunFormattingChange
Implements
Inherited Members

Constructors

WordRunFormattingChange()

public WordRunFormattingChange()

Properties

Bold

Sets the Apple SDK's WordRunFormatting.bold; null leaves it.

public bool? Bold { get; init; }

Property Value

bool?

ClearColorHex

Clears WordRunFormatting.colorHex.

public bool ClearColorHex { get; init; }

Property Value

bool

ClearFontFamily

Clears WordRunFormatting.fontFamily.

public bool ClearFontFamily { get; init; }

Property Value

bool

ClearHighlight

Clears WordRunFormatting.highlight.

public bool ClearHighlight { get; init; }

Property Value

bool

ClearLetterSpacingPt

Clears WordRunFormatting.letterSpacingPt.

public bool ClearLetterSpacingPt { get; init; }

Property Value

bool

ClearShadingHex

Clears WordRunFormatting.shadingHex.

public bool ClearShadingHex { get; init; }

Property Value

bool

ClearSizePt

Clears WordRunFormatting.sizePt.

public bool ClearSizePt { get; init; }

Property Value

bool

ClearVertAlign

Clears WordRunFormatting.vertAlign.

public bool ClearVertAlign { get; init; }

Property Value

bool

ColorHex

Sets the Apple SDK's WordRunFormatting.colorHex; null leaves it.

public string? ColorHex { get; init; }

Property Value

string

FontFamily

Sets the Apple SDK's WordRunFormatting.fontFamily; null leaves it.

public string? FontFamily { get; init; }

Property Value

string

Highlight

Sets the Apple SDK's WordRunFormatting.highlight; null leaves it.

public string? Highlight { get; init; }

Property Value

string

Italic

Sets the Apple SDK's WordRunFormatting.italic; null leaves it.

public bool? Italic { get; init; }

Property Value

bool?

LetterSpacingPt

Sets the Apple SDK's WordRunFormatting.letterSpacingPt; null leaves it. From -1584 to 1584.

public double? LetterSpacingPt { get; init; }

Property Value

double?

ShadingHex

Sets the Apple SDK's WordRunFormatting.shadingHex; null leaves it.

public string? ShadingHex { get; init; }

Property Value

string

SizePt

Sets the Apple SDK's WordRunFormatting.sizePt; null leaves it. From 1 to 1638.

public double? SizePt { get; init; }

Property Value

double?

Strikethrough

Sets the Apple SDK's WordRunFormatting.strikethrough; null leaves it.

public bool? Strikethrough { get; init; }

Property Value

bool?

Underline

Sets the Apple SDK's WordRunFormatting.underline; null leaves it.

public bool? Underline { get; init; }

Property Value

bool?

VertAlign

Sets the Apple SDK's WordRunFormatting.vertAlign; null leaves it.

public WordRunFormattingVertAlign? VertAlign { get; init; }

Property Value

WordRunFormattingVertAlign?

Methods

Equals(WordRunFormattingChange?)

public bool Equals(WordRunFormattingChange? other)

Parameters

other WordRunFormattingChange

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 ==(WordRunFormattingChange?, WordRunFormattingChange?)

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

Parameters

left WordRunFormattingChange
right WordRunFormattingChange

Returns

bool

operator !=(WordRunFormattingChange?, WordRunFormattingChange?)

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

Parameters

left WordRunFormattingChange
right WordRunFormattingChange

Returns

bool