TK.SaveImageAsPDFAsync Method
Public Shared Function SaveImageAsPDFAsync( _
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 Task(Of String)
This language is not supported or no code example is available.
public static Task<string> SaveImageAsPDFAsync(
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
- string
Source image file name
- outputFileName
- string
Output pdf file name
- append
- bool
Flag indicating whether should append image to output PDF file
- orientation
- int
0: Portrait and 1: Landscape
- margin
- string
Margin in Thickness format
- title
- string
Title
- subject
- string
Subject
- author
- string
Author
- creator
- string
Creator
Return Value
Task<string>String containg error message or null on success