THotPDF.GetLoadedPageContentStreamCount Method
Returns the number of content streams attached to a loaded page
Declaration
function GetLoadedPageContentStreamCount(PageIndex: Integer): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based loaded page index |
Return value
Returns zero for no content, one for a single stream, or the number of streams in a Contents array
Usage notes
- A single stream returns one and a Contents array returns its item count
- A missing Contents entry or invalid page index returns zero