OPENDLGOPTIONS_METAFILE

typedef struct _OPENDLGOPTIONS_METAFILE 
{ 
   L_UINT uStructSize; 
   L_INT nXResolution; 
   L_INT nYResolution; 
} OPENDLGOPTIONS_METAFILE, * LPOPENDLGOPTIONS_METAFILE; 

The OPENDLGOPTIONS_METAFILE structure provides load option information for Metafile file formats. This information will be used in the LFileSettings::SetWMFResolution function.

Members

uStructSize

Size of this structure, in bytes. Use the sizeof operator to calculate this value.

nXResolution

The X-resolution value that LEADTOOLS is to use when loading images from WMF files. Load the file at the corresponding DPI.

nYResolution

The Y-resolution value that LEADTOOLS is to use when loading images from WMF files. Load the file at the corresponding DPI.

Comments

The LDialogFile::DoModalOpen function displays the Open dialog and gets options for the LFile::LoadFile function. After the user presses the Open button on the dialog, one or more OPENDLGFILEDATA structures will be updated based on the file(s) selected in the Open dialog. The OPENDLGFILEDATA.FileOptions member is an OPENDLGOPTIONS structure. This structure is updated based on the file type(s) selected in the Open dialog. If the OPENDLGOPTIONS.nType member is FILE_EMF or FILE_WMF, the OPENDLGOPTIONS.pOptions member will point to an OPENDLGOPTIONS_METAFILE structure, which is, in turn, updated with the Metafile load options.

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Common Dialog C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.