LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
AnnHiliteObject Class
See Also  Members  
Leadtools.Annotations Namespace : AnnHiliteObject Class



The AnnHiliteObject Class is available in LEADTOOLS Document and Medical Imaging toolkits.

Defines an annotation hilite object.

Object Model

AnnHiliteObject ClassAnnRectangle StructureAnnRectangle StructureAnnBrush ClassAnnContainer ClassAnnFont ClassAnnGroupObject ClassAnnFont ClassAnnPoint StructureAnnPoint StructureAnnPen ClassAnnPoint StructureAnnPoint StructureAnnUnitConverter Class

Syntax

Visual Basic (Declaration) 
<SerializableAttribute()>
Public Class AnnHiliteObject 
   Inherits AnnRectangleObject
   Implements ICloneableIDisposableISerializable 
Visual Basic (Usage)Copy Code
Dim instance As AnnHiliteObject
C# 
[SerializableAttribute()]
public class AnnHiliteObject : AnnRectangleObject, ICloneableIDisposableISerializable  
C++/CLI 
[SerializableAttribute()]
public ref class AnnHiliteObject : public AnnRectangleObject, ICloneableIDisposableISerializable  

Example

This example creates a hilite object.

Visual BasicCopy 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);
}

Remarks

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.

Inheritance Hierarchy

System.Object
   Leadtools.Annotations.AnnDrawable
      Leadtools.Annotations.AnnObject
         Leadtools.Annotations.AnnRectangleObject
            Leadtools.Annotations.AnnHiliteObject

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features