CalloutData Constructor (String, AnnotationFont, AnnotationBrush, Single, AnnotationBrush, AnnotationPen, AnnotationPen, Single) |
Creates a new instance of CalloutData specifying the text, font, font brush, padding,
outline and line pen.
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
)
Public Sub New (
text As String,
font As AnnotationFont,
fontBrush As AnnotationBrush,
padding As Single,
fill As AnnotationBrush,
outline As AnnotationPen,
leader As AnnotationPen,
leaderFlatLength As Single
)
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 from the leader will stick out from the annotation.
See Also