WpfCalloutAnnotation Constructor (String, AnnotationFont, AnnotationBrush, AnnotationPen, Double, AnnotationBrush, AnnotationPen) |
Creates a new instance of WpfCalloutAnnotation specifying its more common properties.
Namespace:
Atalasoft.Annotate.Wpf
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public WpfCalloutAnnotation(
string text,
AnnotationFont font,
AnnotationBrush fontBrush,
AnnotationPen leader,
double leaderFlatLength,
AnnotationBrush fill,
AnnotationPen outline
)
Public Sub New (
text As String,
font As AnnotationFont,
fontBrush As AnnotationBrush,
leader As AnnotationPen,
leaderFlatLength As Double,
fill As AnnotationBrush,
outline As AnnotationPen
)
Parameters
- text
- Type: SystemString
The text of the annotation. - font
- Type: Atalasoft.AnnotateAnnotationFont
The font used by the annotation. - fontBrush
- Type: Atalasoft.AnnotateAnnotationBrush
The brush used to render the text. - leader
- Type: Atalasoft.AnnotateAnnotationPen
The pen used to render the leader. - leaderFlatLength
- Type: SystemDouble
The length of the leader line to the bend. - fill
- Type: Atalasoft.AnnotateAnnotationBrush
The brush used to fill the annotation. This can be null (Nothing in VB). - outline
- Type: Atalasoft.AnnotateAnnotationPen
The pen used to draw the annotation outline. This can be null (Nothing in VB).
See Also