Click or drag to resize

CalloutData Constructor (String, AnnotationFont, AnnotationBrush, Single, AnnotationBrush, AnnotationPen, AnnotationPen, Single, PointF, Boolean)

Creates a new instance of CalloutData specifying its parameters.

Namespace:  Atalasoft.Annotate
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public CalloutData(
	string text,
	AnnotationFont font,
	AnnotationBrush fontBrush,
	float padding,
	AnnotationBrush fill,
	AnnotationPen outline,
	AnnotationPen leader,
	float leaderFlatLength,
	PointF targetPosition,
	bool autoSize
)

Parameters

text
Type: SystemString
The text for the annotation.
font
Type: Atalasoft.AnnotateAnnotationFont
The font used to render the text.
fontBrush
Type: Atalasoft.AnnotateAnnotationBrush
The brush used to render the text.
padding
Type: SystemSingle
The padding around the text.
fill
Type: Atalasoft.AnnotateAnnotationBrush
The brush used to fill the text area of the annotation.
outline
Type: Atalasoft.AnnotateAnnotationPen
The pen used to render an outline around the text area of the annotation.
leader
Type: Atalasoft.AnnotateAnnotationPen
The pen used to render the line of the annotation.
leaderFlatLength
Type: SystemSingle
The distance the leader will stick out from the annotation.
targetPosition
Type: System.DrawingPointF
The document position the line will point to.
autoSize
Type: SystemBoolean
Indicates whether the annotation will automatically resize to fit the text.
See Also