Defines an annotation hilite object.
public class AnnHiliteObject : AnnRectangleObject Public Class AnnHiliteObjectInherits Leadtools.Windows.Annotations.AnnRectangleObjectImplements Leadtools.Windows.Annotations.IAnnHeader, Leadtools.Windows.Annotations.IAnnObject, Leadtools.Windows.Annotations.IAnnRectangle
public ref class AnnHiliteObject : public Leadtools.Windows.Annotations.AnnRectangleObject, Leadtools.Windows.Annotations.IAnnHeader, Leadtools.Windows.Annotations.IAnnObject, Leadtools.Windows.Annotations.IAnnRectangle The hilite annotation object is a simple rectangle that has a bounding rectangle, no stroke and no fill. Although it does not have a stroke or fill, 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 WPF. For more information about the automated highlight annotation object, refer to WPF Annotation Objects - Automated Features.
This example creates a hilite object.
using Leadtools.Windows.Controls;using Leadtools.Windows.Annotations;using Leadtools.Demos;using Leadtools.Help;private void AnnHiliteObject_AnnHiliteObject(AnnContainer container){AnnHiliteObject hilite = new AnnHiliteObject();hilite.Rect = new Rect(100, 200, 400, 600);hilite.Fill = Colors.Yellow;container.Children.Add(hilite);}
Imports Leadtools.Windows.ControlsImports Leadtools.Windows.AnnotationsPrivate Sub AnnHiliteObject_AnnHiliteObject(ByVal container As AnnContainer)Dim hilite As AnnHiliteObject = New AnnHiliteObject()hilite.Rect = New Rect(100, 200, 400, 600)hilite.Fill = Colors.Yellowcontainer.Children.Add(hilite)End Sub
using Leadtools.Windows.Controls;using Leadtools.Windows.Annotations;using Leadtools.Examples;//using Leadtools.Help;private void AnnHiliteObject_AnnHiliteObject(AnnContainer container){AnnHiliteObject hilite = new AnnHiliteObject();hilite.Rect = new Rect(100, 200, 400, 600);hilite.Fill = Colors.Yellow;container.Children.Add(hilite);}
Imports Leadtools.Windows.ControlsImports Leadtools.Windows.AnnotationsPrivate Sub AnnHiliteObject_AnnHiliteObject(ByVal container As AnnContainer)Dim hilite As AnnHiliteObject = New AnnHiliteObject()hilite.Rect = New Rect(100, 200, 400, 600)hilite.Fill = Colors.Yellowcontainer.Children.Add(hilite)End Sub
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
