ClassAnnotatorSettings
Class representing all the annotator settings.
Definition
Namespace:ArtOfTest.WebAii.Win32
Assembly:ArtOfTest.WebAii.dll
Syntax:
public class AnnotatorSettings
Inheritance: objectAnnotatorSettings
Constructors
AnnotatorSettings()
Create a new Annotator settings object. Use default settings.
Declaration
public AnnotatorSettings()
AnnotatorSettings(Color, float)
Create a new Annotator settings object.
AnnotatorSettings(Color, float, string, float, FontStyle, bool, Color, int, int, OffsetReference)
Create a new Annotator settings object.
Declaration
public AnnotatorSettings(Color color, float borderWidth, string fontFamilyName, float fontemSize, FontStyle fontStyle, bool ShowAnnotationMessage, Color backgroundColor, int backgroundAlpha, int borderPadding, OffsetReference infoLocation)
Parameters
color
The color to use.
borderWidth
The border width to use.
fontFamilyName
The font to use to draw messages.
fontemSize
The font size to use.
fontStyle
The font style to use.
ShowAnnotationMessage
Whether to show annotation messages or not.
backgroundColor
The background color of text annotations.
backgroundAlpha
The background alpha blending 0-255.
borderPadding
The padding between the highlight border and the element.
infoLocation
The location where to place text annotations.
Properties
BackColor
Gets/Sets the background color for message annotations. Default Yellow.
BackColorAlpha
Gets/Sets the background color alpha blending. Default 240.
BorderPadding
Gets/Sets the border padding between the border and highlighted element. Default 4.
BorderWidth
Gets/Sets the border width that highlights the element. Default 2.
Color
Gets/Sets the color to use to draw the annotations. Default Red.
CustomDisplayTime
Gets or sets the hang time for custom annotations.
FontFamilyName
The font family name to use to draw the annotation messages. Default Tahoma.
FontStyle
Gets/Sets the font style to use to draw the messages. Default Bold.
FontemSize
Gets/Sets the font size to use to draw the messages. Default 10.
InfoMessageLocation
Gets/Sets the info message location in reference to the window. Default TopCenter.
Declaration
public OffsetReference InfoMessageLocation { get; set; }
Property Value
ShowAnnotationMessage
Gets/Sets whether to show message annotation in addition to highlighting the target elements.