Back to Devexpress

TdxPDFDocument.PageCount Property

vcl-dxpdfdocument-dot-tdxpdfdocument-422443f8.md

latest894 B
Original Source

TdxPDFDocument.PageCount Property

Returns the number of pages in the PDF document.

Declaration

delphi
property PageCount: Integer read;

Property Value

TypeDescription
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

TdxPDFDocument Class

TdxPDFDocument Members

dxPDFDocument Unit