Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# DocumentInfo.pageNumber Property

Module: DocumentInfo

Type: int

## Definition

The page number of the document.

Python

    page_number: int

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Dart

    int get pageNumber => getPageNumber();

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C#

    public int pageNumber
    {
        get => GetpageNumber();
    }

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Java

    public int getPageNumber() throws DocumentException

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Swift

    public var pageNumber: Int
        get {
            return Int(try! getPageNumber())
        }
    }

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C

    int id3DocumentInfo_GetPageNumber (ID3_DOCUMENT_INFO hDocumentInfo, int * pageNumber)

Returns

> `int`
> An error code.
> See id3DocumentError file for the list of possible error codes.