TableStyleElement

TableStyleElement class

Represents the element of the table style.

class TableStyleElement;

Methods

MethodDescription
getSize()Number of rows or columns in a single band of striping. Applies only when type is firstRowStripe, secondRowStripe, firstColumnStripe, or secondColumnStripe.
setSize(number)Number of rows or columns in a single band of striping. Applies only when type is firstRowStripe, secondRowStripe, firstColumnStripe, or secondColumnStripe.
getType()Gets the element type.
getElementStyle()Gets the element style.
setElementStyle(Style)Sets the element style.

getSize()

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

getSize() : number;

setSize(number)

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

setSize(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getType()

Gets the element type.

getType() : TableStyleElementType;

Returns

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.