Aspose.Pdf

Symbols List and Purpose

Replaceable symbols are special symbols in text string that can be replaced with corresponding content at run time. Replaceable symbols available in Aspose.Pdf are:

 

 

The IsSymbolReplaceable property in the Segment class is used to set whether these symbols be replaced at run time. The default value is true.

 

A list of symbols and their descriptions is given below:

 

Symbol

Description

$P

Displays total number of pages in the document

$p

Displays the page number of current page in the document

$Sp

Displays page number in the current section

$SP

Displays page count of the current section

$SN

Displays section index of the section in the document

$D

Displays date and time

#$NL

Forces beginning a new line

#$NP

Forces beginning a new page

#$NC

Forces the text after the symbol to be rendered in next column

#$TAB

Sets tab at the start of a segment

#$REFPAGE(paragraphID)

Indicates the page number of a specified paragraph