Creates a bitmap image representing this diagram.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public Bitmap CreateImage () |
Visual Basic Copy Code |
---|
Public Function CreateImage () As Bitmap |
An instance of the .NET System.Drawing.Bitmap class.
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.
NetDiagram Programmer's Guide | © 2023 MindFusion |