See Also Examples Applies To
Saves the native GdPicture image as pdf.
Syntax
object.SaveAsPDFEx (sFilePath, sTitle, sAuthor, sSubject, sKeywords, sCreator, nPdfEncryption, nPDFRight, sUserpassWord, sOwnerPassword)
The SaveAsPDFEx syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| sFilePath | Required. String. The complete PDF file path to save the native GdPicture image. |
| sTitle | Optional. String. Default value is "". The PDF Title. |
| sAuthor | Optional. String. Default value is "". The PDF Author. |
| sSubject | Optional. String. Default value is "". The PDF Subject. |
| sKeywords | Optional. String. Default value is "". The PDF Keywords. |
| sCreator | Optional. String. Default value is "". The PDF Creator. |
| nPdfEncryption |
Optional. Long. Default value is PdfEncryptionNone. Specifies if the PDF file must be encrypted. Can be: PdfEncryptionNone = 0 -> No encryption PdfEncryption40BitRC4 = 1 -> 40 Bit RC4 encryption PdfEncryption128BitRC4 = 2 -> 128Bit RC4 encryption |
| nPDFRight | Optional. Long. Default value is PdfRightUndefined. A value returned by the PdfCreateRights function. Available only if nPdfEncryption is not null. |
| sUserpassWord | Optional. String. Default value is "". The user password for the PDF. Can be an empty string. Available only if nPdfEncryption is not null. |
| sOwnerPassword | Optional. String. Default value is "". The owner password for the PDF. Can be an empty string. Available only if nPdfEncryption is not null. |
Returns
Boolean. True is success, else False.
Category
Save and Close Image