PdfCreateFromMultipageTIFFEx Method

See Also     Examples     Applies To

Creates a multipage PDF from a multipage tiff image. This image can be a read only multipage tiff image or an editable multipage tiff image.

Syntax

object.PdfCreateFromMultipageTIFFEx (nImageID., sPdfFileDest, sTitle, sAuthor, sSubject, sKeywords, sCreator, nPdfEncryption, nPDFRight, sUserpassWord, sOwnerPassword)

The PdfCreateFromMultipageTIFFEx syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nImageID. Required. Long. GdPicture Image handle. The multipage tiff image to save as PDF.
sPdfFileDest Required. String. The destination of the pdf to create.
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

Long. GdPictureStatus

Category

PDF Functions

Visual Basic Sample

How to convert a multipage tif file to a multipage pdf file


Dim nMultipageImageID As Long
Dim nSuccess as Long

nMultipageImageID = object.CreateImageFromFile("multipage.tif")
nSuccess = object.PdfCreateFromMultipageTIFFEx(nMultipageImageID, "multipage.pdf")
Call object.CloseImage(nMultipageImageID)






© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.