GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / SaveAsPDF Method / SaveAsPDF(Int32,Stream,Boolean,String,String,String,String,String) Method
GdPicture image identifier.
The Stream object to save a GdPicture image.
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.





In This Topic
SaveAsPDF(Int32,Stream,Boolean,String,String,String,String,String) Method
In This Topic
Saves a GdPicture image as single page pdf stream.
Syntax
'Declaration
 
Public Overloads Function SaveAsPDF( _
   ByVal ImageID As Integer, _
   ByVal PDFStream As Stream, _
   ByVal PDFA As Boolean, _
   ByVal Title As String, _
   ByVal Author As String, _
   ByVal Subject As String, _
   ByVal Keywords As String, _
   ByVal Creator As String _
) As GdPictureStatus
public GdPictureStatus SaveAsPDF( 
   int ImageID,
   Stream PDFStream,
   bool PDFA,
   string Title,
   string Author,
   string Subject,
   string Keywords,
   string Creator
)
public function SaveAsPDF( 
    ImageID: Integer;
    PDFStream: Stream;
    PDFA: Boolean;
    Title: String;
    Author: String;
    Subject: String;
    Keywords: String;
    Creator: String
): GdPictureStatus; 
public function SaveAsPDF( 
   ImageID : int,
   PDFStream : Stream,
   PDFA : boolean,
   Title : String,
   Author : String,
   Subject : String,
   Keywords : String,
   Creator : String
) : GdPictureStatus;
public: GdPictureStatus SaveAsPDF( 
   int ImageID,
   Stream* PDFStream,
   bool PDFA,
   string* Title,
   string* Author,
   string* Subject,
   string* Keywords,
   string* Creator
) 
public:
GdPictureStatus SaveAsPDF( 
   int ImageID,
   Stream^ PDFStream,
   bool PDFA,
   String^ Title,
   String^ Author,
   String^ Subject,
   String^ Keywords,
   String^ Creator
) 

Parameters

ImageID
GdPicture image identifier.
PDFStream
The Stream object to save a GdPicture image.
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.

Return Value

A member of the GdPictureStatus enumeration.
Remarks

This method requires the PDF Processing component to run.

See Also