THotPDF.GetLoadedShadingCount Method
Returns the number of named shading resources on a loaded page
Declaration
function GetLoadedShadingCount(PageIndex: Integer): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based loaded page index |
Return value
Returns the number of entries in the page Shading resource dictionary
Usage notes
- Use GetLoadedShadingName with indexes from zero through the returned count minus one