Click or drag to resize

AnnotationUIGetConfinedLocation 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)
Syntax
protected PointF GetConfinedLocation(
	RectangleF dsAnnotationBounds,
	RectangleF dsConfinedBounds,
	PointF dsLocationOffset
)

Parameters

dsAnnotationBounds
Type: System.DrawingRectangleF
The bounding rectangle of the annotation in document space.
dsConfinedBounds
Type: System.DrawingRectangleF
The bounding rectangle in document space for the confinement.
dsLocationOffset
Type: System.DrawingPointF
The difference between the current and suggested new location of the annotation in document space units.

Return Value

Type: PointF
See Also