LBaseFile::GetDefaultLoadFileOption

Summary

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

Syntax

#include "ltwrappr.h"

static L_INT LBaseFile::GetDefaultLoadFileOption(pLoadFileOption, uStructSize)

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

For a list of functions that utilize the LOADFILEOPTION structure, refer to the Usage section of its documentation.

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help

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