TsgDXFInsert.RealColor

TsgDXFInsert

  Classes Reference > CAD Database structure > Entities > TsgDXFInsert > TsgDXFInsert Methods >

TsgDXFInsert.RealColor

TsgDXFInsert

Previous pageReturn to chapter overviewNext page

Converts ByLayer color value to real one.

function RealColor(AColor: TColor): TColor;

Description

If AColor is not clByLayer, returns AColor unchanged. Otherwise, returns own Color property; if it is clByLayer too, returns Owner.RealColor if Owner exists.

Go to CAD VCL Enterprise