BCL easyConverter SDK
easyConverter SDK Usermanual
PDF-to-HTML Programming API  |  Download Free Trial  |  Contact Us to Purchase

ImageFormat Property

Set format for images. This property is ignored if AbsolutePositioning is set to 'true'

Sub ImageFormat(newVal As Long)



One of optImageFormat values:

OPT_IMAGE_JPEG = 0 - Convert images to JPEG format (Default),
OPT_IMAGE_PNG = 1 - Convert images to PNG format

Exception Handling

Please refer to the list of return exceptions.

Example Usage

oConverter = CreateObject("EasyConverter.PDF2HTML.4")

' Set image format
oConverter.ImageFormat = OPT_IMAGE_PNG
Call oConverter.ConvertToHTML(inFileName, outFileName)