Gets the current DPI (dots per inch) value that LEADTOOLS uses when loading WMF/EMF files.
static L_INT LFileSettings::GetWMFResolution (lpXResolution, lpYResolution)
Pointer to a variable to be updated with the current value that LEADTOOLS uses for WMF/EMF horizontal resolution.
Pointer to a variable to be updated with the current value that LEADTOOLS uses for WMF/EMF vertical resolution.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
Before calling this function, the user must declare two variables of L_INT data type, and then pass the addresses of these variables as the lpXResolution and lpYResolution parameters, and then the function will update these values with the current values that LEADTOOLS uses for WMF/EMF resolutions.
For an explanation of how LEADTOOLS uses the WMF/EMF file resolution values, refer to LFileSettings::SetWMFResolution function.
Note: More options are available in the LOADFILEOPTION structure.
nRet = fileSettings.GetWMFResolution(&XResolution,&YResolution);
if(nRet != SUCCESS)
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries