LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

AnnHiliteObject Class

Example 





Members 
Defines an annotation hilite object.
Object Model
AnnHiliteObject ClassAnnRectangle StructureAnnRectangle StructureAnnBrush ClassAnnContainer ClassAnnFont ClassAnnGroupObject ClassAnnFont ClassAnnPoint StructureAnnPoint StructureAnnPen ClassAnnPoint StructureAnnPoint StructureAnnUnitConverter Class
Syntax
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.

Example
 
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
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);
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnHiliteObject Members
Leadtools.Annotations Namespace

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.