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
)
Public Sub New (
device As RenderDevice,
drawingContext As DrawingContext,
zoom As Double,
resolution As Point,
interactMode As AnnotateInteractMode,
scaledResolutionHeightFactor As Double
)
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 See Also