GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / PdfCreateFromMultipageTIFF Method / PdfCreateFromMultipageTIFF(Int32,String,Boolean,String,String,String,String,String,PdfCompression,PdfCompression) Method
GdPicture image identifier. The multipage tiff image to save as PDF.
The destination of the pdf to create.
True to generate PDF in PDF/A 1-b format else False.
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 PdfCompression enumeration. The scheme to use to compress bitonal bitmap within the PDF.
A member of the PdfCompression enumeration. The scheme to use to compress color bitmap within the PDF.
Example





In This Topic
PdfCreateFromMultipageTIFF(Int32,String,Boolean,String,String,String,String,String,PdfCompression,PdfCompression) Method
In This Topic
Creates a multipage PDF from a multipage tiff image.
Syntax
'Declaration
 
Public Overloads Function PdfCreateFromMultipageTIFF( _
   ByVal ImageID As Integer, _
   ByVal PdfFileDest As String, _
   ByVal PDFA As Boolean, _
   ByVal Title As String, _
   ByVal Author As String, _
   ByVal Subject As String, _
   ByVal Keywords As String, _
   ByVal Creator As String, _
   ByVal BitonalCompressionScheme As PdfCompression, _
   ByVal ColorCompressionScheme As PdfCompression _
) As GdPictureStatus
public GdPictureStatus PdfCreateFromMultipageTIFF( 
   int ImageID,
   string PdfFileDest,
   bool PDFA,
   string Title,
   string Author,
   string Subject,
   string Keywords,
   string Creator,
   PdfCompression BitonalCompressionScheme,
   PdfCompression ColorCompressionScheme
)
public function PdfCreateFromMultipageTIFF( 
    ImageID: Integer;
    PdfFileDest: String;
    PDFA: Boolean;
    Title: String;
    Author: String;
    Subject: String;
    Keywords: String;
    Creator: String;
    BitonalCompressionScheme: PdfCompression;
    ColorCompressionScheme: PdfCompression
): GdPictureStatus; 
public function PdfCreateFromMultipageTIFF( 
   ImageID : int,
   PdfFileDest : String,
   PDFA : boolean,
   Title : String,
   Author : String,
   Subject : String,
   Keywords : String,
   Creator : String,
   BitonalCompressionScheme : PdfCompression,
   ColorCompressionScheme : PdfCompression
) : GdPictureStatus;
public: GdPictureStatus PdfCreateFromMultipageTIFF( 
   int ImageID,
   string* PdfFileDest,
   bool PDFA,
   string* Title,
   string* Author,
   string* Subject,
   string* Keywords,
   string* Creator,
   PdfCompression BitonalCompressionScheme,
   PdfCompression ColorCompressionScheme
) 
public:
GdPictureStatus PdfCreateFromMultipageTIFF( 
   int ImageID,
   String^ PdfFileDest,
   bool PDFA,
   String^ Title,
   String^ Author,
   String^ Subject,
   String^ Keywords,
   String^ Creator,
   PdfCompression BitonalCompressionScheme,
   PdfCompression ColorCompressionScheme
) 

Parameters

ImageID
GdPicture image identifier. The multipage tiff image to save as PDF.
PdfFileDest
The destination of the pdf to create.
PDFA
True to generate PDF in PDF/A 1-b format else False.
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.
BitonalCompressionScheme
A member of the PdfCompression enumeration. The scheme to use to compress bitonal bitmap within the PDF.
ColorCompressionScheme
A member of the PdfCompression enumeration. The scheme to use to compress color bitmap within the PDF.

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");
    gdpictureImaging.PdfCreateFromMultipageTIFF(imageID, "output.pdf", true, "PDF from TIFF", "GdPicture.NET 14", "For test", "pdf, tiff", "Orpalis",
                                                PdfCompression.PdfCompressionJPEG, PdfCompression.PdfCompressionJPEG);
    gdpictureImaging.ReleaseGdPictureImage(imageID);
}
See Also