Click or drag to resize

PointBaseDataCalculateBounds Method (AnnotationPen, AnnotationBrush, PointF, Boolean, Boolean)

Calculates the bounding rectangle for the annotation.

Namespace:  Atalasoft.Annotate
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
protected RectangleF CalculateBounds(
	AnnotationPen pen,
	AnnotationBrush shadow,
	PointF shadowOffset,
	bool translucent,
	bool closed
)

Parameters

pen
Type: Atalasoft.AnnotateAnnotationPen
The pen used for the points.
shadow
Type: Atalasoft.AnnotateAnnotationBrush
The shadow for the annotation.
shadowOffset
Type: System.DrawingPointF
The shadow offset for the annotation.
translucent
Type: SystemBoolean
A value indicating whether the annotation is translucent.
closed
Type: SystemBoolean
A value indicating whether the annotation points form a closed shape.

Return Value

Type: RectangleF
The bounding rectangle for the annotation.
See Also