RubberStampData Constructor (RectangleF, String, AnnotationFont, AnnotationBrush, AnnotationBrush, AnnotationPen, Single, Single) |
Creates a new instance of RubberStampData specifying the bounding rectangle, text, font,
font brush, fill, outline and corner radius.
Namespace:
Atalasoft.Annotate
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public RubberStampData(
RectangleF bounds,
string text,
AnnotationFont font,
AnnotationBrush fontBrush,
AnnotationBrush fill,
AnnotationPen outline,
float cornerRadius,
float padding
)
Public Sub New (
bounds As RectangleF,
text As String,
font As AnnotationFont,
fontBrush As AnnotationBrush,
fill As AnnotationBrush,
outline As AnnotationPen,
cornerRadius As Single,
padding As Single
)
Parameters
- bounds
- Type: System.DrawingRectangleF
The bounding rectangle of the annotation. - text
- Type: SystemString
The text drawn for the rubber stamp. - font
- Type: Atalasoft.AnnotateAnnotationFont
The font used for the annotation text. - fontBrush
- Type: Atalasoft.AnnotateAnnotationBrush
The AnnotationBrush used for rendering the text. - fill
- Type: Atalasoft.AnnotateAnnotationBrush
The AnnotationBrush used for filling the annotation. - outline
- Type: Atalasoft.AnnotateAnnotationPen
The AnnotationPen used for drawing the outline of the annotation. - cornerRadius
- Type: SystemSingle
The radius used on the corners. - padding
- Type: SystemSingle
Space added around the text.
See Also