Defines an annotation hilite object.
Object Model
Syntax
Example
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); } |
Remarks
Inheritance Hierarchy
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