EPNSAVEOPTIONS

typedef struct tag_EPNSAVEOPTIONS
{
   L_UINT uStructSize; 
   L_CHAR szFileName [ L_MAXPATH ]; 
   L_INT nFormat; 
   EEPNDOCUMENTTYPE DocumentType; 
   EPNRASTEROPTIONS RasterOptions; 
   EPNDOCUMENTOPTIONS DocumentOptions; 
} EPNSAVEOPTIONS, L_FAR * pEPNSAVEOPTIONS;

The EPNSAVEOPTIONS structure provides options for file saving.

Member

Description

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() macro to calculate this value.

szFileName

Character string that contains the full path file name of the file intended to be saved.

nFormat

Output file format. For possible values, refer to Formats of Output Files.

DocumentType

Value that determines the type of the output file to be saved. For a list of possible values, refer to the EEPNDOCUMENTTYPE enumeration.

RasterOptions

EPNRASTEROPTIONS structure that contains the raster images properties. Use this member if the value of the DocumentType member is set to DLG_FT_SAVE_TYPE_RASTER.

DocumentOptions

EPNDOCUMENTOPTIONS structure that contains the document properties. Use this member if the value of the DocumentType member is set to DLG_FT_SAVE_TYPE_DOCUMENT.

Comments

This structure is used within EPNPRINTERSAVEOPTIONS structure.