MindFusion WinForms Programmer's Guide
Diagram.Draw Method
See Also
 





Renders the diagram on the specified IGraphics object.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public virtual void Draw (
    IGraphics graphics,
    RenderOptions options,
    RectangleF clipRect,
    bool backBuffer
)

Visual Basic  Copy Code

Public Overridable Sub Draw( _
    graphics As IGraphics, _
    options As RenderOptions, _
    clipRect As RectangleF, _
    backBuffer As Boolean _
)

 Parameters

graphics
The IGraphics surface to draw the diagram on.
options
A RenderOptions object specifying options for the drawing operation.
clipRect
A RectangleF specifying the current clipping rectangle.
backBuffer

 Remarks

MindFusion.Diagramming calls this method to draw a representation of the diagram onto the specified graphics surface. You can override Draw if you need to render additional elements over what's already drawn by the Diagram object.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace