Renders a diagram as a bitmap to a file.

Namespace:  Mindscape.WpfDiagramming
Assembly:  Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public void Render(
	DiagramSurface diagram,
	string path
)
Visual Basic (Declaration)
Public Sub Render ( _
	diagram As DiagramSurface, _
	path As String _
)

Parameters

diagram
Type: Mindscape.WpfDiagramming..::.DiagramSurface
The diagram to be rendered.
path
Type: System..::.String
The file into which to write the bitmap data.

Remarks

If the file exists, it is overwritten.

See Also