HeaderFooterCommand

HeaderFooterCommand class

Represents the command of header/footer

class HeaderFooterCommand;

Properties

PropertyTypeDescription
typeHeaderFooterCommandTypeReadonly. Gets the header/footer’ command type .
fontFontReadonly. Gets the font of the command’s value.
textstringReadonly. Gets the text of the command.

Methods

MethodDescription
getType()@deprecated. Please use the ’type’ property instead. Gets the header/footer’ command type .
getFont()@deprecated. Please use the ‘font’ property instead. Gets the font of the command’s value.
getText()@deprecated. Please use the ’text’ property instead. Gets the text of the command.
isNull()Checks whether the implementation object is null.

type

Readonly. Gets the header/footer’ command type .

type : HeaderFooterCommandType;

font

Readonly. Gets the font of the command’s value.

font : Font;

Remarks

Useless for HeaderFooterCommandType.Picture.

text

Readonly. Gets the text of the command.

text : string;

Remarks

Only valid for HeaderFooterCommandType.Text.

getType()

@deprecated. Please use the ’type’ property instead. Gets the header/footer’ command type .

getType() : HeaderFooterCommandType;

Returns

HeaderFooterCommandType

getFont()

@deprecated. Please use the ‘font’ property instead. Gets the font of the command’s value.

getFont() : Font;

Returns

Font

Remarks

Useless for HeaderFooterCommandType.Picture.

getText()

@deprecated. Please use the ’text’ property instead. Gets the text of the command.

getText() : string;

Remarks

Only valid for HeaderFooterCommandType.Text.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;