Aspose::Pdf::PageNumber class

PageNumber class

Represents a page number format that includes an index, total number of pages, and a delimiter.

class PageNumber : public System::Object

Nested classes

Methods

MethodDescription
get_Delimiter() constGets the delimiter used in the page number format. The formatted string will be updated based on the specified delimiter.
get_Index() constGets the page index component of the page number format. The formatted string will include a placeholder for the page index.
get_Offset() constGets the offset to be added to the page index.
get_TotalNum() constGets the total number of pages component of the page number format. The formatted string will include a placeholder for the total number of pages.
GetPageNumberString(int32_t, int32_t)Returns a formatted string representing the page number based on the current settings.
PageNumber()
set_Delimiter(System::String)Sets the delimiter used in the page number format. The formatted string will be updated based on the specified delimiter.
set_Index(System::SharedPtr<PageNumber::PageIndex>)Sets the page index component of the page number format. The formatted string will include a placeholder for the page index.
set_Offset(int32_t)Sets the offset to be added to the page index.
set_TotalNum(System::SharedPtr<PageNumber::PageTotalNum>)Sets the total number of pages component of the page number format. The formatted string will include a placeholder for the total number of pages.

See Also