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