VpeGetDevFileName

<< Click to Display Table of Contents >>

Navigation:  Device Control Properties >

VpeGetDevFileName

Previous pageReturn to chapter overviewNext page

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

Retrieves for the currently selected output device the file name that is used, if the document is printed into a file.

void VpeGetDevFileName(

VpeHandle hDoc,

LPSTR file_name,

int size

)

VpeHandle hDoc

Document Handle

LPSTR file_name

receive string for the file name the document is printed to

int size

the maximum size of the receive string

Remarks:

This property is not written to a VPE setup file.

Example:

char s[256]

VpeGetDevFileName(hDoc, s, sizeof(s))