Aspose::Pdf::PageNumberStamp class

PageNumberStamp class

Represents page number stamp and used to number pages.

class PageNumberStamp : public Aspose::Pdf::TextStamp

Methods

MethodDescription
get_Format() constString value for stamping page numbers. Value must include char ‘#’ which is replaced with the page number in the process of stamping.
get_NumberingStyle() constNumbering style which used by this stamp.
get_StartingNumber() constGets value of the number of starting page. Other pages will be numbered starting from this value.
PageNumberStamp(System::String)Initializes a new instance of the PageNumberStamp class.
PageNumberStamp()Initializes a new instance of the PageNumberStamp class. Format is set to “#”.
PageNumberStamp(System::SharedPtr<Facades::FormattedText>)Creates PageNumberStamp by formatted text.
Put(System::SharedPtr<Page>) overrideAdds page number.
set_Format(System::String)String value for stamping page numbers. Value must include char ‘#’ which is replaced with the page number in the process of stamping.
set_NumberingStyle(Aspose::Pdf::NumberingStyle)Numbering style which used by this stamp.
set_StartingNumber(int32_t)Sets value of the number of starting page. Other pages will be numbered starting from this value.

See Also