RectangleGrips.UpdatePositions Method |
Forces the grips to reset their positions based on a bounding rectangle.
Namespace:
Atalasoft.Annotate.UI
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntaxpublic virtual void UpdatePositions(
RectangleF bounds,
PointF resolution,
PointF scale
)
Public Overridable Sub UpdatePositions (
bounds As RectangleF,
resolution As PointF,
scale As PointF
)
Parameters
- bounds
- Type: System.Drawing.RectangleF
A bounding rectangle defining the grip locations. - resolution
- Type: System.Drawing.PointF
The viewer resolution. - scale
- Type: System.Drawing.PointF
The scale (zoom) of the viewer.
See Also