HeaderFooterCommand

HeaderFooterCommand class

Represents the command of header/footer

class HeaderFooterCommand;

Methods

MethodDescription
getType()Gets the header/footer’ command type .
getFont()Gets the font of the command’s value.
getText()Gets the text of the command.

getType()

Gets the header/footer’ command type .

getType() : HeaderFooterCommandType;

Returns

HeaderFooterCommandType

getFont()

Gets the font of the command’s value.

getFont() : Font;

Returns

Font

Remarks

Useless for HeaderFooterCommandType.Picture.

getText()

Gets the text of the command.

getText() : string;

Remarks

Only valid for HeaderFooterCommandType.Text.