[]
        
(Showing Draft Content)

PdfRunningTitleDeclarativeContent Class

PdfRunningTitleDeclarativeContent Class

Represents the declarative content of the running title.

Heirarchy

  • PdfRunningTitleDeclarativeContent

Constructors

Properties

Methods

Constructors

constructor

Properties

brush

brush: PdfBrush

Gets or sets the brush used to fill the text.

font

font: PdfFont

Gets or sets the font of the text.

text

text: string

Gets or sets the text of the running title.

May contain up to 3 tabular characters ('\t') which are used for separating the text into the parts that will be aligned within the page area using left, center and right alignment. Two kinds of macros are supported, '&[Page]' and '&[Pages]'. The former one designates the current page index while the latter one designates the page count.

For example, for the first page of a document having ten pages, the following string:

'&[Page]\\&[Pages]\theader\t&[Page]\\&[Pages]'

will be translated to:

'1\10 header 1\10'

Methods

clone

equals