GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / PdfCreateFromMultipageTIFF Method / PdfCreateFromMultipageTIFF(Int32,String,String,String,String,String,String,PdfEncryption,PdfRight,String,String) Method
GdPicture image identifier. The multipage tiff image to save as PDF.
The destination of the pdf to create.
The title of the PDF.
The PDF Author.
The PDF Subject.
The PDF Keywords.
The name of the application which creates the PDF.
A member of the PdfEncryption enumeration. Note: AES 256 encyption is not yet available.
A value returned by the PdfCreateRights method.
The user password for the PDF. Can be an empty string.
The owner password for the PDF. Can be an empty string.
Example





In This Topic
PdfCreateFromMultipageTIFF(Int32,String,String,String,String,String,String,PdfEncryption,PdfRight,String,String) Method
In This Topic
Creates a multipage PDF with encryption from a multipage tiff image.
Syntax
'Declaration
 
Public Overloads 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
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
)
public function PdfCreateFromMultipageTIFF( 
    ImageID: Integer;
    PdfFileDest: String;
    Title: String;
    Author: String;
    Subject: String;
    Keywords: String;
    Creator: String;
    Encryption: PdfEncryption;
    Rights: PdfRight;
    UserPassword: String;
    OwnerPassword: String
): GdPictureStatus; 
public function PdfCreateFromMultipageTIFF( 
   ImageID : int,
   PdfFileDest : String,
   Title : String,
   Author : String,
   Subject : String,
   Keywords : String,
   Creator : String,
   Encryption : PdfEncryption,
   Rights : PdfRight,
   UserPassword : String,
   OwnerPassword : String
) : GdPictureStatus;
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
) 
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
) 

Parameters

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 256 encyption is not yet available.
Rights
A value returned by the PdfCreateRights method.
UserPassword
The user password for the PDF. Can be an empty string.
OwnerPassword
The owner password for the PDF. Can be an empty string.

Return Value

A member of the GdPictureStatus enumeration.
Remarks

This method requires the PDF Processing and Image Conversion components to run.

Example
Saving a multipage tiff file to a PDF document.
using (GdPictureImaging gdpictureImaging = new GdPictureImaging())
{
    int imageID = gdpictureImaging.CreateGdPictureImageFromFile("multipage.tiff");
 
    // Create pdf rights for saving.
    PdfRight pdfRights = gdpictureImaging.PdfCreateRights(true, false, false, true, false, false, false, true);
    gdpictureImaging.PdfCreateFromMultipageTIFF(imageID, "output.pdf", "PDF from TIFF", "GdPicture.NET 14", "For test", "pdf, tiff", "Orpalis",
                                                PdfEncryption.PdfEncryption256BitAES, pdfRights, "userpassw", "ownerpassw");
            
    gdpictureImaging.ReleaseGdPictureImage(imageID);
}
See Also