Draw Molecule object

Namespace:  Hyleos.Chemistry.Drawing
Assembly:  Hyleos.Chemistry (in Hyleos.Chemistry.dll) Version: 1.0.9.4 (1.0.9.4)

Syntax

C#
public void DrawMol(
	Graphics g,
	int width,
	int height,
	Color bgColor,
	Color fontColor
)
Visual Basic (Declaration)
Public Sub DrawMol ( _
	g As Graphics, _
	width As Integer, _
	height As Integer, _
	bgColor As Color, _
	fontColor As Color _
)
Visual C++
public:
void DrawMol(
	Graphics^ g, 
	int width, 
	int height, 
	Color bgColor, 
	Color fontColor
)

Parameters

g
Type: System.Drawing..::.Graphics
Graphics object to draw on
width
Type: System..::.Int32
Graphics width
height
Type: System..::.Int32
Graphics height
bgColor
Type: System.Drawing..::.Color
Backgrounf color
fontColor
Type: System.Drawing..::.Color
Font color

See Also