AnnotateViewerParameters Constructor (PointF, PointF, PointF) |
Creates a new instance of AnnotateViewerParameters specifying the resolution, zoom and
scroll offset.
Namespace:
Atalasoft.Annotate.UI
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public AnnotateViewerParameters(
PointF resolution,
PointF zoom,
PointF scrollOffset
)
Public Sub New (
resolution As PointF,
zoom As PointF,
scrollOffset As PointF
)
Parameters
- resolution
- Type: System.DrawingPointF
The resolution of the viewer. - zoom
- Type: System.DrawingPointF
The zoom level of the viewer. - scrollOffset
- Type: System.DrawingPointF
The scroll position (offset from the top-left corner) of the document.
Exceptions Exception | Condition |
---|
| Thrown if the zoom is less than or equal to 0. |
See Also