Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
AnnHiliteObject Class
See Also  Members   Example 
Leadtools.Annotations Namespace : AnnHiliteObject Class



Defines an annotation hilite object.

Object Model














Syntax

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

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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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