ASP.NET Pack Programmer's Guide
Diagram.CreateImage Method (RectangleF, Rectangle, Single)
See Also
 





Creates a bitmap image representing this diagram using the specified scale factor.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public Bitmap CreateImage (
    RectangleF viewport,
    Rectangle viewportDev,
    float scale
)

Visual Basic  Copy Code

Public Function CreateImage( _
    viewport As RectangleF, _
    viewportDev As Rectangle, _
    scale As Single _
) As Bitmap

 Parameters

viewport
Specifies what region of the diagram to export, in logical coordinates.
viewportDev
Specifies what region of the diagram to export, in device coordinates.
scale
Specifies the scale factor as percents of the original size.

 Return Value

An instance of the .NET Bitmap class containing the diagram image.

 See Also

CreateImage Method Overload List
Diagram Members
Diagram Class
MindFusion.Diagramming Namespace