Changing the color of Dimension Entity

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

Moderators: SDS, support, admin

Post Reply
aby
Posts: 81
Joined: 21 May 2007, 13:02
Location: Turkey

Changing the color of Dimension Entity

Post by aby » 29 Feb 2008, 12:57

Hi,

I'm not abled to change the color of Dimension Entities.

TsgDXFDimension *Ent;
Ent->Color = clRed;
Invalidate();

Is it posible to change the color of Dimensions?

Aby

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

Post by support » 29 Feb 2008, 15:36

Hello!

It is necessary to use like the following:

Ent->SetColor(clYellow);
TsgDXFImage->CurrentLayout->Converter->Loads(Ent);

Sergey



Please post questions to the forum or write to support@cadsofttools.com

Post Reply