TableStyleElement

TableStyleElement class

Represents the element of the table style.

class TableStyleElement;

Properties

PropertyTypeDescription
sizenumberNumber of rows or columns in a single band of striping. Applies only when type is firstRowStripe, secondRowStripe, firstColumnStripe, or secondColumnStripe.
typeTableStyleElementTypeReadonly. Gets the element type.

Methods

MethodDescription
getElementStyle()Gets the element style.
setElementStyle(Style)Sets the element style.

size

Number of rows or columns in a single band of striping. Applies only when type is firstRowStripe, secondRowStripe, firstColumnStripe, or secondColumnStripe.

size : number;

type

Readonly. Gets the element type.

type : TableStyleElementType;

getElementStyle()

Gets the element style.

getElementStyle() : Style;

Returns

Returns the Style object.

setElementStyle(Style)

Sets the element style.

setElementStyle(style: Style) : void;

Parameters:

ParameterTypeDescription
styleStyleThe element style.