Class CellFormatChange
- Namespace
- ComOfficeKit.Model
- Assembly
- ComOfficeKit.dll
A change to each cell's CellFormat, for SettingFormat(CellRange, long, CellFormatChange): a member left
null is left as each cell has it; a Clear… member set to true clears an optional one.
public sealed record CellFormatChange : IEquatable<CellFormatChange>
- Inheritance
-
CellFormatChange
- Implements
- Inherited Members
Constructors
CellFormatChange()
public CellFormatChange()
Properties
Alignment
Sets the Apple SDK's CellFormat.alignment; null leaves it.
public CellAlignment? Alignment { get; init; }
Property Value
Borders
Sets the Apple SDK's CellFormat.borders; null leaves it.
public CellBorders? Borders { get; init; }
Property Value
ClearAlignment
Clears CellFormat.alignment.
public bool ClearAlignment { get; init; }
Property Value
ClearBorders
Clears CellFormat.borders.
public bool ClearBorders { get; init; }
Property Value
ClearFill
Clears CellFormat.fill.
public bool ClearFill { get; init; }
Property Value
ClearFont
Clears CellFormat.font.
public bool ClearFont { get; init; }
Property Value
ClearNumberFormat
Clears CellFormat.numberFormat.
public bool ClearNumberFormat { get; init; }
Property Value
Fill
Sets the Apple SDK's CellFormat.fill; null leaves it.
public FillStyle? Fill { get; init; }
Property Value
Font
Sets the Apple SDK's CellFormat.font; null leaves it. Its sizePt from 1 to 409.
public FontStyle? Font { get; init; }
Property Value
NumberFormat
Sets the Apple SDK's CellFormat.numberFormat; null leaves it.
public string? NumberFormat { get; init; }
Property Value
Methods
Equals(CellFormatChange?)
public bool Equals(CellFormatChange? other)
Parameters
otherCellFormatChange
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 ==(CellFormatChange?, CellFormatChange?)
public static bool operator ==(CellFormatChange? left, CellFormatChange? right)
Parameters
leftCellFormatChangerightCellFormatChange
Returns
operator !=(CellFormatChange?, CellFormatChange?)
public static bool operator !=(CellFormatChange? left, CellFormatChange? right)
Parameters
leftCellFormatChangerightCellFormatChange