Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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 
Managed Extensions for C++ 
[SerializableAttribute()]
public __gc class AnnHiliteObject : public 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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