Save image as PDF file

Namespace: T.Toolkit
Assembly: T.Toolkit (in T.Toolkit.dll)

Public Shared Function SaveImageAsPDF( _ 
ByVal imageFileName As String, _ 
ByVal outputFileName As String, _ 
Optional ByVal append As Boolean = false, _ 
Optional ByVal orientation As Integer = 1, _ 
Optional ByVal margin As String = null, _ 
Optional ByVal title As String = null, _ 
Optional ByVal subject As String = null, _ 
Optional ByVal author As String = null, _ 
Optional ByVal creator As String = null _ 
) As String
This language is not supported or no code example is available.
public static string SaveImageAsPDF( 
string imageFileName
string outputFileName
bool append = false, 
int orientation = 1, 
string margin = null, 
string title = null, 
string subject = null, 
string author = null, 
string creator = null 
)
This language is not supported or no code example is available.

Parameters

imageFileName
Type: string

Source image file name

outputFileName
Type: string

Output pdf file name

append
Type: bool

Flag indicating whether should append image to output PDF file

orientation
Type: int

0: Portrait and 1: Landscape

margin
Type: string

Margin in Thickness format

title
Type: string

Title

subject
Type: string

Subject

author
Type: string

Author

creator
Type: string

Creator

Return Value

Type: string

String containg error message or null on success

.NET Framework

Supported in: 4.6.2, 4.7