Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
LBaseFile::GetDefaultLoadFileOption
#include "ltwrappr.h.h"
static L_INT LBaseFile::GetDefaultLoadFileOption(pLoadFileOption, uStructSize)
pLOADFILEOPTION pLoadFileOption; |
/* pointer to a LOADFILEOPTION structure */ |
L_UINT uStructSize; |
/* size of the LOADFILEOPTION structure */ |
Gets the default extended values that are used when loading a file.
Parameter |
Description |
pLoadFileOption |
Pointer to the LOADFILEOPTION structure to be updated with the current extended values. |
uStructSize |
Size of the LOADFILEOPTION structure pointed to by pLoadFileOption. The size of this structure must be specified. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
Functions that use the LOADFILEOPTION structure:
LFileSettings::GetLoadResolution
Required DLLs and Libraries
LTFIL For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
LFile::LoadCMYKArray, LFile::SaveCMYKArray, LPaint::PaintDCCMYKArray, LFile::Compact, LBaseFile::GetDefaultSaveFileOption, Class Members |
Example
L_INT LBaseFile__GetDefaultLoadFileOptionExample(HWND hWnd) { UNREFERENCED_PARAMETER(hWnd); LOADFILEOPTION LoadFileOption; SAVEFILEOPTION SaveFileOption; //Gets the default load file options LBaseFile::GetDefaultLoadFileOption(&LoadFileOption,sizeof(LOADFILEOPTION)); //Gets the default save fileoptions LBaseFile::GetDefaultSaveFileOption(&SaveFileOption, sizeof(SAVEFILEOPTION)); return SUCCESS; }