The AnnHiliteObject Class is available in LEADTOOLS Document and Medical Imaging toolkits.
Defines an annotation hilite object.Visual Basic (Declaration) | |
---|---|
<SerializableAttribute()> Public Class AnnHiliteObject Inherits AnnRectangleObject Implements ICloneable, IDisposable, ISerializable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnHiliteObject |
C# | |
---|---|
[SerializableAttribute()] public class AnnHiliteObject : AnnRectangleObject, ICloneable, IDisposable, ISerializable |
C++/CLI | |
---|---|
[SerializableAttribute()] public ref class AnnHiliteObject : public AnnRectangleObject, ICloneable, IDisposable, ISerializable |
This example creates a hilite object.
Visual Basic | Copy Code |
---|---|
Private Sub AnnHiliteObject_AnnHiliteObject(ByVal container As AnnContainer) Dim hilite As AnnHiliteObject = New AnnHiliteObject() hilite.Bounds = New AnnRectangle(100, 200, 400, 600, AnnUnit.Pixel) hilite.HiliteColor = Color.Yellow container.Objects.Add(hilite) End Sub |
C# | Copy Code |
---|---|
private void AnnHiliteObject_AnnHiliteObject(AnnContainer container) { AnnHiliteObject hilite = new AnnHiliteObject(); hilite.Bounds = new AnnRectangle(100, 200, 400, 600, AnnUnit.Pixel); hilite.HiliteColor = Color.Yellow; container.Objects.Add(hilite); } |
The hilite annotation object is a simple rectangle that has a bounding rectangle, no pen and no brush. Although it does not have a pen or brush, it does have a color value that is used to fill this bounding area. By default the hilite object uses a yellow color.
For more information about the highlight annotation object refer to AnnHiliteObject. For more information about the automated highlight annotation object, refer to Annotation Objects - Automated Features.
System.Object
Leadtools.Annotations.AnnDrawable
Leadtools.Annotations.AnnObject
Leadtools.Annotations.AnnRectangleObject
Leadtools.Annotations.AnnHiliteObject
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7