AnnotationUI.GetConfinedLocation Method (RectangleF, RectangleF, PointF) |
Returns the new confined location of the annotation when the annotation bounds, a confinement bounds
and new location offset are provided.
This overload is useful when only a portion of the annotation bounds should be taken into account for this
calculation.
Namespace:
Atalasoft.Annotate.UI
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntaxprotected PointF GetConfinedLocation(
RectangleF dsAnnotationBounds,
RectangleF dsConfinedBounds,
PointF dsLocationOffset
)
Protected Function GetConfinedLocation (
dsAnnotationBounds As RectangleF,
dsConfinedBounds As RectangleF,
dsLocationOffset As PointF
) As PointF
Parameters
- dsAnnotationBounds
- Type: System.Drawing.RectangleF
The bounding rectangle of the annotation in document space. - dsConfinedBounds
- Type: System.Drawing.RectangleF
The bounding rectangle in document space for the confinement. - dsLocationOffset
- Type: System.Drawing.PointF
The difference between the current and suggested new location of the annotation in
document space units.
Return Value
Type:
PointF
See Also