Save image as PDF file
Namespace:
T.Toolkit
Assembly: T.Toolkit (in T.Toolkit.dll)
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.
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: stringString containg error message or null on success