ComOfficeKitby KDAN API Reference for Windows
Table of Contents

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

CellAlignment

Borders

Sets the Apple SDK's CellFormat.borders; null leaves it.

public CellBorders? Borders { get; init; }

Property Value

CellBorders

ClearAlignment

Clears CellFormat.alignment.

public bool ClearAlignment { get; init; }

Property Value

bool

ClearBorders

Clears CellFormat.borders.

public bool ClearBorders { get; init; }

Property Value

bool

ClearFill

Clears CellFormat.fill.

public bool ClearFill { get; init; }

Property Value

bool

ClearFont

Clears CellFormat.font.

public bool ClearFont { get; init; }

Property Value

bool

ClearNumberFormat

Clears CellFormat.numberFormat.

public bool ClearNumberFormat { get; init; }

Property Value

bool

Fill

Sets the Apple SDK's CellFormat.fill; null leaves it.

public FillStyle? Fill { get; init; }

Property Value

FillStyle

Font

Sets the Apple SDK's CellFormat.font; null leaves it. Its sizePt from 1 to 409.

public FontStyle? Font { get; init; }

Property Value

FontStyle

NumberFormat

Sets the Apple SDK's CellFormat.numberFormat; null leaves it.

public string? NumberFormat { get; init; }

Property Value

string

Methods

Equals(CellFormatChange?)

public bool Equals(CellFormatChange? other)

Parameters

other CellFormatChange

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

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

Parameters

left CellFormatChange
right CellFormatChange

Returns

bool

operator !=(CellFormatChange?, CellFormatChange?)

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

Parameters

left CellFormatChange
right CellFormatChange

Returns

bool