Click or drag to resize

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.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public RubberStampData(
	RectangleF bounds,
	string text,
	AnnotationFont font,
	AnnotationBrush fontBrush,
	AnnotationBrush fill,
	AnnotationPen outline,
	float cornerRadius,
	float padding
)

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