Defines an annotation hilite object.
[SerializableAttribute()]public class AnnHiliteObject : Leadtools.Annotations.AnnRectangleObject, System.ICloneable, System.IDisposable, System.Runtime.Serialization.ISerializable
<SerializableAttribute()>Public Class AnnHiliteObjectInherits Leadtools.Annotations.AnnRectangleObjectImplements System.ICloneable, System.IDisposable, System.Runtime.Serialization.ISerializable
[SerializableAttribute()]public ref class AnnHiliteObject : public Leadtools.Annotations.AnnRectangleObject, System.ICloneable, System.IDisposable, System.Runtime.Serialization.ISerializable
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 (Deprecated). For more information about the automated highlight annotation object, refer to Annotation Objects - Automated Features (Deprecated).
This example creates a hilite object.
using Leadtools;using Leadtools.Annotations;using Leadtools.Codecs;using Leadtools.WinForms;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);}
Imports LeadtoolsImports Leadtools.AnnotationsImports Leadtools.CodecsImports Leadtools.WinFormsPrivate 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.Yellowcontainer.Objects.Add(hilite)End Sub
|
Products |
Support |
Feedback: AnnHiliteObject Class - Leadtools.Annotations |
Introduction |
Help Version 19.0.2017.6.20
|

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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.