Gets the default extended values that are used when loading a file.
#include "ltwrappr.h"
static L_INT LBaseFile::GetDefaultLoadFileOption(pLoadFileOption, uStructSize)
Pointer to the LOADFILEOPTION structure to be updated with the current extended values.
Size of the LOADFILEOPTION structure pointed to by pLoadFileOption. The size of this structure must be specified.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
For a list of functions that utilize the LOADFILEOPTION structure, refer to the Usage section of its documentation.
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 Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document