Click or drag to resize

MolBaseSaveImage Method (Stream, String, Int32, Int32, Int32, Int32, Int32)

Generate structure image

Namespace:  Scilligence.MolEngine
Assembly:  Scilligence.MolEngine (in Scilligence.MolEngine.dll) Version: 1.3.0.0 (7.0.0.39951)
Syntax
C#
public void SaveImage(
	Stream stream,
	string format,
	int wid,
	int ht,
	int margin,
	int forecolor,
	int backgroundcolor
)

Parameters

stream
Type: System.IOStream
The image output stream
format
Type: SystemString
The image's file format, which can be png, gif, jpg, bmp, tif, emf
wid
Type: SystemInt32
The image's width
ht
Type: SystemInt32
The image's height
margin
Type: SystemInt32
The margin from the structure to the image border
forecolor
Type: SystemInt32
The front color
backgroundcolor
Type: SystemInt32
The background color
See Also