VpeSetPictureExportColorDepth

<< Click to Display Table of Contents >>

Navigation:  Picture Export >

VpeSetPictureExportColorDepth

Previous pageReturn to chapter overviewNext page

[Windows platform only, Professional Edition and above]

Specifies the color depth of an exported image.

void VpeSetPictureExportColorDepth(

VpeHandle hDoc,

int depth

)

VpeHandle hDoc

Document Handle

int depth

possible values are:

Constant Name

Value

Comment

PICEXP_COLOR_MONO

1

 

PICEXP_COLOR_16

4

 

PICEXP_COLOR_256

8

 

PICEXP_COLOR_HI

16

 

PICEXP_COLOR_TRUE

24

 

Default:

PICEXP_COLOR_TRUE

Remarks:

The higher the color depth, the more memory is needed during export to create the image.

The color depth can not be specified for metafiles (WMF / EMF), metafiles are always exported in true-color.

 

See also:

PictureExportDither