AutoCADFilesColorScheme example for C++ Builder
void __fastcall TForm1::Button1Click(TObject *Sender)
{
/* If the current AutoCAD color scheme is not black on white, change it */
if ( LEADImage1->AutoCADFilesColorScheme != AUTOCADFILES_COLORSCHEME_BLACKONWHITE )
LEADImage1->AutoCADFilesColorScheme= AUTOCADFILES_COLORSCHEME_BLACKONWHITE;
/* Load the DXF file */
LEADImage1->Load ( "c:\\image1.dxf", 0, 1, 1 );
}