Search
Diagram.Draw Method
See Also
 





Renders the diagram on the specified IGraphics object.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

Public Overridable Sub Draw( _
    graphics As IGraphics, _
    options As RenderOptions, _
    clipRect As RectangleF, _
    noModifiedItems 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.
noModifiedItems

true to skip rendering the items currently being modified; otherwise, false.

 Remarks

NetDiagram 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