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
ClearFontFamily
Clears WordRunFormatting.fontFamily.
public bool ClearFontFamily { get; init; }
Property Value
ClearHighlight
Clears WordRunFormatting.highlight.
public bool ClearHighlight { get; init; }
Property Value
ClearLetterSpacingPt
Clears WordRunFormatting.letterSpacingPt.
public bool ClearLetterSpacingPt { get; init; }
Property Value
ClearShadingHex
Clears WordRunFormatting.shadingHex.
public bool ClearShadingHex { get; init; }
Property Value
ClearSizePt
Clears WordRunFormatting.sizePt.
public bool ClearSizePt { get; init; }
Property Value
ClearVertAlign
Clears WordRunFormatting.vertAlign.
public bool ClearVertAlign { get; init; }
Property Value
ColorHex
Sets the Apple SDK's WordRunFormatting.colorHex; null leaves it.
public string? ColorHex { get; init; }
Property Value
FontFamily
Sets the Apple SDK's WordRunFormatting.fontFamily; null leaves it.
public string? FontFamily { get; init; }
Property Value
Highlight
Sets the Apple SDK's WordRunFormatting.highlight; null leaves it.
public string? Highlight { get; init; }
Property Value
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
ShadingHex
Sets the Apple SDK's WordRunFormatting.shadingHex; null leaves it.
public string? ShadingHex { get; init; }
Property Value
SizePt
Sets the Apple SDK's WordRunFormatting.sizePt; null leaves it. From 1 to 1638.
public double? SizePt { get; init; }
Property Value
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
Methods
Equals(WordRunFormattingChange?)
public bool Equals(WordRunFormattingChange? other)
Parameters
otherWordRunFormattingChange
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 ==(WordRunFormattingChange?, WordRunFormattingChange?)
public static bool operator ==(WordRunFormattingChange? left, WordRunFormattingChange? right)
Parameters
leftWordRunFormattingChangerightWordRunFormattingChange
Returns
operator !=(WordRunFormattingChange?, WordRunFormattingChange?)
public static bool operator !=(WordRunFormattingChange? left, WordRunFormattingChange? right)
Parameters
leftWordRunFormattingChangerightWordRunFormattingChange