Skip to main content

TdxPDFDocument.PageCount Property

Returns the number of pages in the PDF document.

Declaration

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