Search
Diagram.CreateImage Method ()
See Also
 





Creates a bitmap image representing this diagram.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public Bitmap CreateImage ()

Visual Basic  Copy Code

Public Function CreateImage () As Bitmap

 Return Value

An instance of the .NET System.Drawing.Bitmap class.

 Remarks

The method creates a new bitmap instance as big as the current document extents and paints the diagram in it. The Save method of the Bitmap class can be used to save the image in a jpeg, gif or bmp file.

 See Also