SaveAsPDFAEx Method

See Also     Examples     Applies To

Saves the native GdPicture image as PDF/A format. If the native GdPicture image is a multipage tiff image, this function save it as multipage PDF/A.

Syntax

object.SaveAsPDFAEx (sFilePath, sTitle, sAuthor, sSubject, sKeywords, sCreator)

The SaveAsPDFAEx 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.

Returns

Boolean. True is success, else False.

Category

Save and Close Image

Visual Basic Sample

How to convert TIFF file to PDF file


Dim nImageID As Long

nImageID = object.CreateImageFromFile("image.tif")
If nImageID <> 0 Then
   object.SaveAsPDFAEx ("image.pdf")
   object.CloseImage (nImageID)
End If






© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.