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.0.0.0.0.297 (.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

[Missing <returns> documentation for "M:Atalasoft.Annotate.UI.AnnotationUI.GetConfinedLocation(System.Drawing.RectangleF,System.Drawing.RectangleF,System.Drawing.PointF)"]

See Also