TSVGColors.StringToColor

TSVGColors

  Classes Reference > Auxiliary Classes > TSVGColors > TSVGColors Methods >

TSVGColors.StringToColor

TSVGColors

Previous pageReturn to chapter overviewNext page

Converts entity’s color defined in vStrColor.

function StringToColor (vStrColor: string): TColor;

Description

Converts entity color defined in vStrColor to TColor and returns it.

Note: if Info returns ‘–1’ then StringToColor returns clBlack.

Go to CAD VCL Enterprise