Search
Diagram.CreateImage Method (RectangleF, Rectangle, Single, String)
See Also
 





Creates a bitmap containing an image of the diagram.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

Public Function CreateImage( _
    viewport As RectangleF, _
    viewportDev As Rectangle, _
    scale As Single, _
    message As String _
) 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.

message

A watermark message to display.

 Return Value

A Bitmap instance containing the diagram image.

 See Also