ComOfficeKitby KDAN API Reference for Windows
Table of Contents

Class TableCellStyleChange

Namespace
ComOfficeKit.Model
Assembly
ComOfficeKit.dll

A change to a table cell's style for ReplacingStyle(int, string, TableCellAddress, TableCellStyleChange) : the fill set by its value, cleared by ClearFill, or left; the borders set whole, or left.

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

Constructors

TableCellStyleChange()

public TableCellStyleChange()

Properties

Borders

The borders to set, whole: each side's colour RRGGBB (null for none) and the width, 0 to 1,584 pt. An empty one takes them all away.

public TableCellBorders? Borders { get; init; }

Property Value

TableCellBorders

ClearFill

True to clear the fill: the cell takes its table's.

public bool ClearFill { 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

Methods

Equals(TableCellStyleChange?)

public bool Equals(TableCellStyleChange? other)

Parameters

other TableCellStyleChange

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

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

Parameters

left TableCellStyleChange
right TableCellStyleChange

Returns

bool

operator !=(TableCellStyleChange?, TableCellStyleChange?)

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

Parameters

left TableCellStyleChange
right TableCellStyleChange

Returns

bool