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....



Using TChemGraph


The component TChemGraph displays a chemical structure which is decribed by its connection table and the correponding atom coordinates. The color of the displayed structure is controlled by the property ColorStructure unless a particular atom has its own definition. The individual color definitions are conatained in the array AtColor. The background color of the structure is defined by ColorBkg.

The display mode of the structure can be controlled by the properties DisplayMode and AtVisAttrib. The scale of the displayed structure can be controlled by the properties DrawUnscaled, ClipBoundary and MaxBondLeng. The procedure ShowMoleculeInABox allows to draw the structure on a foreign canvas.

Further there are a few methods which allow finding certain features of the structure: FindChainNextToCursor and FindRingNextToCursor.


Last Update: 2023-Dec-14