Save a Molecule as a picture
Namespace:
Hyleos.Chemistry.DrawingAssembly: Hyleos.Chemistry (in Hyleos.Chemistry.dll) Version: 1.0.9.4 (1.0.9.4)
Syntax
| C# |
|---|
public static void SaveAsImage( Molecule molecule, int height, int width, string fileName, ImageFormat format ) |
| Visual Basic (Declaration) |
|---|
Public Shared Sub SaveAsImage ( _ molecule As Molecule, _ height As Integer, _ width As Integer, _ fileName As String, _ format As ImageFormat _ ) |
| Visual C++ |
|---|
public: static void SaveAsImage( Molecule^ molecule, int height, int width, String^ fileName, ImageFormat^ format ) |
Parameters
- molecule
- Type: Hyleos.Chemistry..::.Molecule
[Missing <param name="molecule"/> documentation for "M:Hyleos.Chemistry.Drawing.MoleculePicture.SaveAsImage(Hyleos.Chemistry.Molecule,System.Int32,System.Int32,System.String,System.Drawing.Imaging.ImageFormat)"]
- height
- Type: System..::.Int32
Image height
- width
- Type: System..::.Int32
Image width
- fileName
- Type: System..::.String
Image filaname
- format
- Type: System.Drawing.Imaging..::.ImageFormat
Image format