LFileSettings::GetAutoCADFilesColorScheme

#include "ltwrappr.h"

static L_INT LFileSettings::GetAutoCADFilesColorScheme(lpFlags)

L_UINT32 L_FAR * lpFlags;

/* pointer to a variable to be updated */

Gets the current color scheme that LEADTOOLS uses when loading AutoCAD (DXF and DWG) files.

Parameter

Description

lpFlags

Pointer to a variable, to be updated with a value that represents the current AutoCAD color scheme that LEADTOOLS uses when loading AutoCAD file

 

 

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Note:  More options are available in the LOADFILEOPTION structure.

For an explanation of how LEADTOOLS uses the AutoCAD color scheme flags, refer to LFileSettings::SetAutoCADFilesColorScheme.

Before calling this function, you must declare a variable of data type L_UINT32. You can then pass the address of the variable in the pFlags parameter, which this function will update with a value that represents the current color scheme used by LEADTOOLS for loading AutoCAD files.

Required DLLs and Libraries

LTFIL
File format DLLs

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:

LFileSettings::SetAutoCADFilesColorScheme, LFileSettings::SetViewMode2D, LFileSettings::GetViewMode2D, LFileSettings::GetViewport2D, LFileSettings::SetViewport2D

Topics:

Raster Image Functions: Loading Files

 

Vector Images

Example

For an example, refer to LFileSettings::SetAutoCADFilesColorScheme.