ForegroundColor Property

CDXML Name:color
CDX Constant Name:kCDXProp_ForegroundColor
CDX Constant Value:0x0301
Data Size:UINT16
Property of objects:kCDXObj_Node, kCDXObj_Bond, kCDXObj_Graphic, kCDXObj_Curve, kCDXObj_EmbeddedObject, kCDXObj_Table, kCDXObj_NamedAlternativeGroup, kCDXObj_Spectrum, kCDXObj_Border, kCDXObj_Geometry, kCDXObj_Constraint, kCDXObj_TLCPlate, s, kCDXObj_Arrow
First written/read in:ChemDraw 4.0


The foreground color of an object represented as the two-based index into the object's color table.

A value indicating the 2-based index of a color in the color table (a value of 2 indicates the first item, a value of 3 indicates the second item, etc.).

If this property is absent:

A value of 3 is assumed, that being defined as the default foreground color in the color table.


CDX Documentation index