ClassAnnotator
Provides annotation support for a browser.
Definition
Namespace:ArtOfTest.WebAii.Win32
Assembly:ArtOfTest.WebAii.dll
Syntax:
public class Annotator
Inheritance: objectAnnotator
Constructors
Annotator(Desktop)
Create a new annotator with default settings.
Declaration
public Annotator(Desktop desktop)
Parameters
desktop
The related desktop.
Annotator(IAnnotationHost)
Create a new annotator with default settings.
Declaration
public Annotator(IAnnotationHost host)
Parameters
host
The target host to annotate.
Annotator(IAnnotationHost, AnnotatorSettings)
Create a new annotator object.
Declaration
public Annotator(IAnnotationHost host, AnnotatorSettings annotationSettings)
Parameters
host
The target host to annotate.
annotationSettings
The annotation settings.
Properties
Settings
Gets/Sets the annotation settings to use. You can use these settings at any point in execution to change how annotation is done.
Declaration
public AnnotatorSettings Settings { get; set; }
Property Value
Methods
Annotate(Point, string)
Annotate a single point.
Annotate(Rectangle, string)
Annotate and highlight a specific target rectangle on the browser surface with a message to display underneath.
Annotate(string)
Annotate a message to the browser. Will use the AnnotateSettings.InfoMessageLocation to place this message on the browser surface.
Declaration
public void Annotate(string message)
Parameters
message
The message.
Annotate(string, int, OffsetReference)
Annotate a message to the browser
Declaration
public void Annotate(string message, int displayTime, OffsetReference location)
Parameters
message
The message.
displayTime
The display time (msec).
location
The display location