GetContentCount
PowerScript function
Description
Gets the count of PDFContent objects in a page (a PDFPage
object).
Applies to
PDFPage object in Objects and Controls
Syntax
|
1 |
long GetContentCount() |
Return value
Long. Returns the number of PDFContent objects.
Usage
Call the function to return the number of PDFContent
objects in Objects and Controls in the PDFPage object. The PDFContent object may be an
object that is derived from it (including PDFContent
object in Objects and Controls, PDFInvisibleContent object in Objects and Controls,
PDFVisibleContent object in Objects and Controls,
PDFImage object in Objects and Controls, PDFImportContent object in Objects and Controls,
PDFMultilineText object in Objects and Controls,
PDFRichText object in Objects and Controls, PDFSharedText object in Objects and Controls, and PDFText
object in Objects and Controls).
Examples
The following example gets the count of PDFContent objects in a
PDFPage object:
|
1 2 3 |
//Get the count of PDFContent objects Long ll_count ll_count = lpdf_page.getcontentcount() |
See also