SaveAsPDF(Int32,Stream,String,String,String,String,String,PdfEncryption,PdfRight,String,String) Method
Saves a GdPicture image as single page pdf stream with encryption.
public GdPictureStatus SaveAsPDF(
int ,
Stream ,
string ,
string ,
string ,
string ,
string ,
PdfEncryption ,
PdfRight ,
string ,
string
)
public function SaveAsPDF(
: int,
: Stream,
: String,
: String,
: String,
: String,
: String,
: PdfEncryption,
: PdfRight,
: String,
: String
) : GdPictureStatus;
public: GdPictureStatus SaveAsPDF(
int ,
Stream* ,
string* ,
string* ,
string* ,
string* ,
string* ,
PdfEncryption ,
PdfRight ,
string* ,
string*
)
public:
GdPictureStatus SaveAsPDF(
int ,
Stream^ ,
String^ ,
String^ ,
String^ ,
String^ ,
String^ ,
PdfEncryption ,
PdfRight ,
String^ ,
String^
)
'Declaration
Public Overloads Function SaveAsPDF( _
ByVal As Integer, _
ByVal As Stream, _
ByVal As String, _
ByVal As String, _
ByVal As String, _
ByVal As String, _
ByVal As String, _
ByVal As PdfEncryption, _
ByVal As PdfRight, _
ByVal As String, _
ByVal As String _
) As GdPictureStatus
Parameters
- ImageID
- GdPicture image identifier.
- PDFStream
- The Stream 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.