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)


Parameters

newVal

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.5")

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