VpeSetDocExportType

<< Click to Display Table of Contents >>

Navigation:  Management Functions >

VpeSetDocExportType

Previous pageReturn to chapter overviewNext page

Sets the current Document Export Type. The value of this property controls, what type of document is created by the method VpeWriteDoc().

void VpeSetDocExportType(

VpeHandle hDoc,

int doc_type

)

VpeHandle hDoc

Document Handle

int doc_type

possible values are:

Constant Name

Value

Comment

VPE_DOC_TYPE_AUTO

0

WriteDoc() will create VPE, PDF, HTML, XML or ODT files, depending on the file suffix of the supplied file name

VPE_DOC_TYPE_VPE

1

WriteDoc() will create VPE files, regardless of the file suffix

VPE_DOC_TYPE_PDF

2

WriteDoc() will create PDF files, regardless of the file suffix

VPE_DOC_TYPE_HTML

3

WriteDoc() will create HTML files, regardless of the file suffix

VPE_DOC_TYPE_XML

4

WriteDoc() will create XML files, regardless of the file suffix

VPE_DOC_TYPE_ODT

5

WriteDoc() will create ODT files, regardless of the file suffix

Default:

VPE_DOC_TYPE_AUTO