Converts image file to PDF byte array

Namespace:  SautinSoft
Assembly:  SautinSoft.PdfVision (in SautinSoft.PdfVision.dll) Version: 5.1.2.13

Syntax

      
 C#  Visual Basic 
public byte[] ConvertImageFileToPDFStream(
	string inputImageFile
)
Public Function ConvertImageFileToPDFStream ( _
	inputImageFile As String _
) As Byte()

Parameters

inputImageFile
String
Local path to any image file

Return Value

PDF document as byte array - in case of converting successfully
null - in case of converting failed

Remarks

Image file can be in any format: JPG, GIF, PNG, TIF, multi-page TIFF, BMP, WMF, ICO etc.


See Also