The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



ColorStructure


Unit:SDL_chemgrph
Class:TChemGraph
Declaration:property ColorStructure: Tcolor

The property ColorStructure determines the color of the structure drawing. Note, that the font color is overwritten by ColorStructure. Therefore, setting ColorStructure is the only way to change the color of the entire molecule (both bond and atom symbols). In order to set the color of a particular atom the property AtColor should be used.

CGCOLORS.gif

Example: This property is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): shcstruk



Last Update: 2023-Dec-14