WangAttributeDataCreateAttachANoteAttribute Method |
Creates a new instance of WangAttributeData for an Attach-a-Note annotation.
Namespace:
Atalasoft.Annotate
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public static WangAttributeData CreateAttachANoteAttribute(
RectangleF bounds,
Color color1,
Color color2,
AnnotationFont font,
string text
)
Public Shared Function CreateAttachANoteAttribute (
bounds As RectangleF,
color1 As Color,
color2 As Color,
font As AnnotationFont,
text As String
) As WangAttributeData
Parameters
- bounds
- Type: System.DrawingRectangleF
The bounding rectangle of the annotation. - color1
- Type: System.DrawingColor
The color of the annotation. - color2
- Type: System.DrawingColor
The text color. - font
- Type: Atalasoft.AnnotateAnnotationFont
The font used when rendering text. - text
- Type: SystemString
The text of the annotation.
Return Value
Type:
WangAttributeData A WangAttributeData containing the annotation data.
See Also