Renders a diagram as a bitmap to a stream.

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 surface,
	Stream stream
)
Visual Basic (Declaration)
Public Sub Render ( _
	surface As DiagramSurface, _
	stream As Stream _
)

Parameters

surface
Type: Mindscape.WpfDiagramming..::.DiagramSurface
The diagram to be rendered.
stream
Type: System.IO..::.Stream
The stream into which to write the bitmap data.

See Also