LBaseFile::GetDefaultLoadFileOption

#include "ltwrappr.h"

static L_INT LBaseFile::GetDefaultLoadFileOption(pLoadFileOption, uStructSize)

Gets the default extended values that are used when loading a file.

Parameters

pLOADFILEOPTION pLoadFileOption

Pointer to the LOADFILEOPTION structure to be updated with the current extended values.

L_UINT uStructSize

Size of the LOADFILEOPTION structure pointed to by pLoadFileOption. The size of this structure must be specified.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

Functions that use the LOADFILEOPTION structure:

Required DLLs and Libraries

See Also

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; 
}  
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help

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