You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > PDF Creation > GdPicture Image To PDF & PDF/A > PdfCreateFromMultipageTIFF > PdfCreateFromMultipageTIFF Method (Integer, String, String, String, String, String, String, PdfEncryption, PdfRight, String, String)
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.PdfCreateFromMultipageTIFF Method (Integer, String, String, String, String, String, String, PdfEncryption, PdfRight, String, String)

Creates a multipage PDF with encryption from a multipage tiff image. 

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

C#
public GdPictureStatus PdfCreateFromMultipageTIFF(
    int ImageID, 
    String PdfFileDest, 
    String Title, 
    String Author, 
    String Subject, 
    String Keywords, 
    String Creator, 
    PdfEncryption Encryption, 
    PdfRight Rights, 
    String UserPassword, 
    String OwnerPassword
);
Visual Basic
Public Function PdfCreateFromMultipageTIFF(
    ByVal ImageID As Integer, 
    ByVal PdfFileDest As String, 
    ByVal Title As String, 
    ByVal Author As String, 
    ByVal Subject As String, 
    ByVal Keywords As String, 
    ByVal Creator As String, 
    ByVal Encryption As PdfEncryption, 
    ByVal Rights As PdfRight, 
    ByVal UserPassword As String, 
    ByVal OwnerPassword As String
) As GdPictureStatus
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier. The multipage tiff image to save as PDF.  
PdfFileDest 
The destination of the pdf to create.  
Title 
The title of the PDF.  
Author 
The PDF Author.  
Subject 
The PDF Subject.  
Keywords 
The PDF Keywords.  
Creator 
The name of the application which creates the PDF.  
Encryption 
A member of the PdfEncryption enumeration. Note: AES encyption is not yet available.  
Rights 
A value returned by the PdfCreateRights function.  
UserPassword 
The user password for the PDF. Can be an empty string.  
OwnerPassword 
The owner password for the PDF. Can be an empty string.  
Returns

A member of the GdPictureStatus enumeration.

How to convert a multipage tif file to amultipage pdf file with 128 bits RC4 encryption

Dim MultipageImageID As Integer
 
oGdPictureImaging.TiffOpenMultiPageForWrite(False) 'for better performances
MultipageImageID = oGdPictureImaging.CreateGdPictureImageFromFile("multipage.tif")
oGdPictureImaging.PdfCreateFromMultipageTIFF(MultipageImageID, "multipage.pdf", "MyPdfTitle", "MyPdfAuthor", "MyPdfSubject", "MyPdfKeywords", "MyPdfCreator", PdfEncryption.PdfEncryption128BitRC4, PdfRight.PdfRightCanView Or PdfRight.PdfRightCanPrint, "UserPass", "OwnerPass")
oGdPictureImaging.ReleaseGdPictureImage(MultipageImageID)
What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.