How to change background color

Discuss and ask questions about CAD VCL (Delphi and C++ Builder).

Moderators: SDS, support, admin

Post Reply
nicolasjul
Posts: 10
Joined: 21 Apr 2011, 17:36
Location: FRANCE

How to change background color

Post by nicolasjul » 25 Oct 2011, 17:35

Hi,

How to change background color on a TsgDrawingNavigator or TsgCADImage ?

TIA,
Nicolas

support
Posts: 3253
Joined: 30 Mar 2005, 11:36
Contact:

Re: How to change background color

Post by support » 25 Oct 2011, 18:14

Hello Nicolas.
TsgDrawingNavigator.Color property used to specify the background color of the graphic viewer. TsgCADImage.BackgroundColor value defines the image background color. Please note TsgCADImage.DefaultColor must be specified with BackgroundColor for correct image visualization. Please see the example in Viewer demo project.

Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

nicolasjul
Posts: 10
Joined: 21 Apr 2011, 17:36
Location: FRANCE

Re: How to change background color

Post by nicolasjul » 25 Oct 2011, 18:36

Perfect !

Thanks a lot for quick answer :P

Post Reply