'Declaration
Public Overloads Function SaveAsPDF( _ ByVal ImageID As Integer, _ ByVal PDFStream As IStream, _ 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 SaveAsPDF( int ImageID, IStream PDFStream, string Title, string Author, string Subject, string Keywords, string Creator, PdfEncryption Encryption, PdfRight Rights, string UserPassword, string OwnerPassword )
public function SaveAsPDF( ImageID: Integer; PDFStream: IStream; Title: String; Author: String; Subject: String; Keywords: String; Creator: String; Encryption: PdfEncryption; Rights: PdfRight; UserPassword: String; OwnerPassword: String ): GdPictureStatus;
public function SaveAsPDF( ImageID : int, PDFStream : IStream, Title : String, Author : String, Subject : String, Keywords : String, Creator : String, Encryption : PdfEncryption, Rights : PdfRight, UserPassword : String, OwnerPassword : String ) : GdPictureStatus;
public: GdPictureStatus SaveAsPDF( int ImageID, IStream* PDFStream, string* Title, string* Author, string* Subject, string* Keywords, string* Creator, PdfEncryption Encryption, PdfRight Rights, string* UserPassword, string* OwnerPassword )
public: GdPictureStatus SaveAsPDF( int ImageID, IStream^ PDFStream, String^ Title, String^ Author, String^ Subject, String^ Keywords, String^ Creator, PdfEncryption Encryption, PdfRight Rights, String^ UserPassword, String^ OwnerPassword )
Parameters
- ImageID
- GdPicture image identifier.
- PDFStream
- The IStream object to save a GdPicture image.
- 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.