Gets a Drawing of the snap lines.

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

Syntax

C#
public Drawing Draw(
	ISnapSpecifier horizontalSnap,
	ISnapSpecifier verticalSnap,
	Rect bounds,
	double zoom
)
Visual Basic (Declaration)
Public Function Draw ( _
	horizontalSnap As ISnapSpecifier, _
	verticalSnap As ISnapSpecifier, _
	bounds As Rect, _
	zoom As Double _
) As Drawing

Parameters

horizontalSnap
Type: Mindscape.WpfDiagramming.Foundation..::.ISnapSpecifier
Provides snap points along the x-axis.
verticalSnap
Type: Mindscape.WpfDiagramming.Foundation..::.ISnapSpecifier
Provides snap points along the y-axis.
bounds
Type: System.Windows..::.Rect
The bounds of the drawing required.
zoom
Type: System..::.Double
The zoom level.

Return Value

A drawing of the snap lines.

Implements

ISnapLineDrawing..::.Draw(ISnapSpecifier, ISnapSpecifier, Rect, Double)

Remarks

Either of both of the ISnapSpecifier parameters may be null, indicating that there are no snap points along this axis.

See Also