Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxPDFDocument.PageCount Property

Returns the number of pages in the PDF document.

#Declaration

Delphi
property PageCount: Integer read;

#Property Value

Type Description
Integer

The number of pages in the loaded document.

#Remarks

If the document container is empty, the PageCount property returns 0.

Note

You can use the PDF Viewer control’s PageCount property to limit the number of displayed document pages.

See Also
xref:dxPDFDocument.TdxPDFDocument.PageInfo