GetCount
PowerScript function
Description
Gets the count of attachments of the PDF document.
Applies to
PDFAttachment object in Objects and Controls
Syntax
|
1 |
long GetCount() |
Return value
Long. Returns the actual count of attachments and returns 0 if an
error occurs.
Usage
Call the function to get the count of attachments in a PDF
document.
Examples
This example gets the count of the attachments that are newly added
from the “D:image” folder to the PDF document.
|
1 2 3 4 5 6 |
lpdf_doc = create PDFdocument lpdf_attach = create PDFattachment lpdf_attach.addfolder ( "D:image",true) lpdf_doc.attachment = lpdf_attach ll_count = lpdf_attach.getcount( ) |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest