VpeSetHtmlCopyImages

<< Click to Display Table of Contents >>

Navigation:  HTML Export >

VpeSetHtmlCopyImages

Previous pageReturn to chapter overviewNext page

Specifies the mode for handling images of generated HTML documents.

If set to true, VPE copies / creates images in a destination directory named "<html file>.img". If an image is used multiple times, it is only stored once in the target directory. If the original images are of type PNG, JPG or GIF and the Rotation is zero degrees, the original image is copied. Otherwise a compressed PNG is created from the original.

If set to false, HTML links to the original locations of all images are written. In this case you may only use file types, which are supported by HTML browsers, i.e. PNG, JPG or GIF. Furthermore rotation is not applied. If you require rotated images, they should be stored on disk already in rotated form.

Windows platform: regardless of this property's value, VPE objects not supported by HTML are still exported as PNG files. If you don’t want this, do not use such objects.

void VpeSetHtmlCopyImages(

VpeHandle hDoc,

int yes_no

)

VpeHandle hDoc

Document Handle

int yes_no

Value

Description

True

copy / create images

False

write HTML links to the original image locations

Default:

True

Remarks:

This property should be set to false, if exporting HTML to a memory stream.