LBaseFile::GetDefaultLoadFileOption

#include "ltwrappr.h.h"

static L_VOID 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

pLoadOptions

Pointer to the LOADFILEOPTIONstructure to be updated with the current extended values.

uStructSize

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

Returns

None

Comments

Functions that use the LOADFILEOPTION structure:

LAnnContainer::Load

LAnnContainer::LoadOffset

LFile::ReadLoadResolutions

LFile::FileConvert

LFile::GetCompressStamp

LFile::GetCommentSize

LFile::GetInfo

LFile::LoadBitmap

LFile::LoadBitmapList

LFile::LoadFile

LFile::LoadLayer

LFile::LoadTile

LFile::LoadOffset

LFile::ReadComment

LFile::ReadCommentExt

LFile::ReadFileTransforms

LFile::ReadTag

LFile::ReadStamp

LFile::StartFeedLoad

LFileSettings::GetLoadResolution

LMemoryFile::Decompress

LMemoryFile::GetInfo

LMemoryFile::LoadBitmap

LMemoryFile::LoadMemory

LMemoryFile::ReadComment

LMemoryFile::ReadTag

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_VOID Example12(HWND 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));
}