RenderEnvironment Constructor (RenderDevice, Graphics, PointF, AnnotationUnit, Matrix, PointF, PointF) |
Creates a new instance of RenderEnvironment specifying its properties.
Namespace:
Atalasoft.Annotate.Renderer
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public RenderEnvironment(
RenderDevice device,
Graphics graphics,
PointF resolution,
AnnotationUnit units,
Matrix transform,
PointF imageResolution,
PointF viewerResolution
)
Public Sub New (
device As RenderDevice,
graphics As Graphics,
resolution As PointF,
units As AnnotationUnit,
transform As Matrix,
imageResolution As PointF,
viewerResolution As PointF
)
Parameters
- device
- Type: Atalasoft.AnnotateRenderDevice
The device used when rendering. - graphics
- Type: System.DrawingGraphics
A Graphics object to render onto. - resolution
- Type: System.DrawingPointF
The resolution to render at - units
- Type: Atalasoft.AnnotateAnnotationUnit
The units of measure used by the annotation. - transform
- Type: System.Drawing.Drawing2DMatrix
A transformation matrix used when rendering. - imageResolution
- Type: System.DrawingPointF
The resolution of the image. - viewerResolution
- Type: System.DrawingPointF
The resolution of the viewer.
See Also