L_GetAutoCADFilesColorScheme

#include "l_bitmap.h"

L_INT EXT_FUNCTION L_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 files.

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 L_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

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:

L_SetAutoCADFilesColorScheme, L_2DSetViewMode, L_2DGetViewMode, L_2DGetViewport, L_2DSetViewport

Topics:

Raster Image Functions: Loading Files

 

Vector Images

Example

For an example, refer to L_SetAutoCADFilesColorScheme.