WpfRubberStampAnnotation Constructor (String, AnnotationFont, AnnotationBrush, AnnotationBrush, AnnotationPen, Double, Double) |
Creates a new instance of WpfRubberStampAnnotation specifying its 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 WpfRubberStampAnnotation(
string text,
AnnotationFont font,
AnnotationBrush fontBrush,
AnnotationBrush fill,
AnnotationPen outline,
double cornerRadius,
double padding
)
Public Sub New (
text As String,
font As AnnotationFont,
fontBrush As AnnotationBrush,
fill As AnnotationBrush,
outline As AnnotationPen,
cornerRadius As Double,
padding As Double
)
Parameters
- text
- Type: SystemString
The text of the annotation. - font
- Type: Atalasoft.AnnotateAnnotationFont
The font used to render the text. - fontBrush
- Type: Atalasoft.AnnotateAnnotationBrush
The brush used to render the text. - fill
- Type: Atalasoft.AnnotateAnnotationBrush
The brush used to fill the annotation. - outline
- Type: Atalasoft.AnnotateAnnotationPen
The pen used to render the annotation outline. - cornerRadius
- Type: SystemDouble
The radius for the annotation corners. - padding
- Type: SystemDouble
The amount of padding around the text.
See Also