Click or drag to resize

WpfRenderEnvironment Constructor

Creates a new instance of WpfRenderEnvironment.

Namespace:  Atalasoft.Annotate.Wpf.Renderer
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public WpfRenderEnvironment(
	RenderDevice device,
	DrawingContext drawingContext,
	double zoom,
	Point resolution,
	AnnotateInteractMode interactMode,
	double scaledResolutionHeightFactor
)

Parameters

device
Type: Atalasoft.AnnotateRenderDevice
The target device for this render session.
drawingContext
Type: System.Windows.MediaDrawingContext
The DrawingContext used for drawing the annotations.
zoom
Type: SystemDouble
The zoom of the WpfAnnotationCanvas.
resolution
Type: System.WindowsPoint
The resolution of the WpfAnnotationCanvas.
interactMode
Type: Atalasoft.AnnotateAnnotateInteractMode
The interaction mode of the WpfAnnotationCanvas.
scaledResolutionHeightFactor
Type: SystemDouble
the resolution's scale height factor. Default 1.0
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the drawingContext argument is null (Nothing in VB).
See Also