CommentData Constructor (String, AnnotationFont, AnnotationBrush, AnnotationBrush, AnnotationPen, AnnotationBrush, PointF, ShadowMode) |
Creates a new instance of CommentData specifying the properties for this object.
Namespace:
Atalasoft.Annotate
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public CommentData(
string text,
AnnotationFont font,
AnnotationBrush fontBrush,
AnnotationBrush fill,
AnnotationPen outline,
AnnotationBrush shadow,
PointF shadowOffset,
ShadowMode shadowMode
)
Public Sub New (
text As String,
font As AnnotationFont,
fontBrush As AnnotationBrush,
fill As AnnotationBrush,
outline As AnnotationPen,
shadow As AnnotationBrush,
shadowOffset As PointF,
shadowMode As ShadowMode
)
Parameters
- text
- Type: SystemString
The text for this annotation. - font
- Type: Atalasoft.AnnotateAnnotationFont
The font used for rendering the text. - fontBrush
- Type: Atalasoft.AnnotateAnnotationBrush
The AnnotationBrush used for rendering the text. - fill
- Type: Atalasoft.AnnotateAnnotationBrush
The AnnotationBrush used to fill the background of the annotation. - outline
- Type: Atalasoft.AnnotateAnnotationPen
The AnnotationPen used to render the outline of the annotation. - shadow
- Type: Atalasoft.AnnotateAnnotationBrush
The AnnotationBrush used for the drop shadow. - shadowOffset
- Type: System.DrawingPointF
The offset for the shadow. - shadowMode
- Type: Atalasoft.AnnotateShadowMode
Defines the type of shadow to apply.
See Also