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


Declaration:procedure ShowMoleculeInABox (Canvas: TCanvas; DispMode: TCGDispMode; llx,lly,urx,ury: integer; MaxBondLeng: integer);

The method ShowMoleculeInABox displays the chemical structure on the canvas specified by Canvas. The structure is scaled such that it fits into the box specified by the parameters [llx/lly] (lower left corner), and [urx/ury] (upper right corner) and the maximum bond length given by MaxBondLeng is not exceeded. The parameter DispMode determines how the structure is displayed.

Last Update: 2012-Okt-20