TsgCADImage.ColorToLineWeight

TsgCADImage                Example

  Classes Reference > TsgCADImage > TsgCADImage Properties >

TsgCADImage.ColorToLineWeight

TsgCADImage                Example

Previous pageReturn to chapter overviewNext page

Use ColorToLineWeight to specify line weight for entities by colors.

property ColorToLineWeight: TStringList

Description

ColorToLineWeight is a list of string items, each representing a color and width of the proper Color=Width. To convert color  to a string necessary to use StringToColor function also you can use the name of a built-in color constant such as 'clBtnFace', or the string representation of a valid TColor value such as '$02FF8800' or $333333. Width value must be float with dot "." decimal separator.  

Go to CAD VCL Enterprise