TK.SaveImageAsPDF Method
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.
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
stringString containg error message or null on success