VpeEnableAutoDelete

<< Click to Display Table of Contents >>

Navigation:  Management Functions >

VpeEnableAutoDelete

Previous pageReturn to chapter overviewNext page

[Windows platform only; not supported by the Community Edition]

Specifies, if the document shall be closed (removed from memory) when the user closes the preview.

void VpeEnableAutoDelete(

VpeHandle hDoc,

int yes_no

)

VpeHandle hDoc

Document Handle

int yes_no

Value

Description

True

yes, close the document also

False

No

Default:

True (the document is deleted, if the user closes the preview)