AutoCADFilesColorScheme property (Main Control)
Builder Syntax |
unsigned AutoCADFilesColorScheme |
Delphi Syntax |
AutoCADFilesColorScheme : L_UINT32 |
Overview |
Refer to Loading a Bitmap from a File. |
Remarks
Gets or sets the color scheme that LEADTOOLS uses when loading AutoCAD (DXF and DWG) files.
AutoCAD (DXF and DWG) files can be loaded with either black or white background. This property lets you decide on what color scheme to use. Black on White or White on Black. Possible values are:
Value |
Meaning |
AUTOCADFILES_COLORSCHEME_BLACKONWHITE |
[0] Use Black as the default and White as the background color. This is the default value. |
AUTOCADFILES_COLORSCHEME_WHITEONBLACK |
[1] Use White as the default and Black as the background color. |
Note that this property only effects colors number 0 and 7 in the standard AutoCAD color profile. Other colors will not be affected.
This property may be used with the following vector file formats: DXF and DWG. For more information on these file formats and their availability, refer to Summary of All Supported Image File Formats.
See Also