The AnnHotspotObject Class is available in LEADTOOLS Document and Medical Imaging toolkits.
Defines an annotation hot spot object.![](dotnetdiagramimages/Leadtools_Annotations_Leadtools_Annotations_AnnHotspotObject.png)
Visual Basic (Declaration) | |
---|---|
<SerializableAttribute()> Public Class AnnHotspotObject Inherits AnnImageObject Implements IAnnPictureObject, ICloneable, IDisposable, ISerializable |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As AnnHotspotObject |
C# | |
---|---|
[SerializableAttribute()] public class AnnHotspotObject : AnnImageObject, IAnnPictureObject, ICloneable, IDisposable, ISerializable |
C++/CLI | |
---|---|
[SerializableAttribute()] public ref class AnnHotspotObject : public AnnImageObject, IAnnPictureObject, ICloneable, IDisposable, ISerializable |
This example creates a hotspot object.
Visual Basic | ![]() |
---|---|
Private Sub AnnHotspotObject_AnnHotspotObject(ByVal container As AnnContainer) Dim hotspot As AnnHotspotObject = New AnnHotspotObject() hotspot.Bounds = New AnnRectangle(100, 200, 400, 600, AnnUnit.Pixel) container.Objects.Add(hotspot) End Sub |
C# | ![]() |
---|---|
private void AnnHotspotObject_AnnHotspotObject(AnnContainer container) { AnnHotspotObject hotspot = new AnnHotspotObject(); hotspot.Bounds = new AnnRectangle(100, 200, 400, 600, AnnUnit.Pixel); container.Objects.Add(hotspot); } |
The AnnHotspotObject class inherits the AnnImageObject class and accesses the common AnnImageObject.Picture property mentioned above through this inheritance.
For more information about the hotspot annotation object refer to AnnHotspotObject. For more information about the automated hotspot annotation object, refer to Annotation Objects - Automated Features and Automated Annotations - Hotspot Picture Tab.System.Object
Leadtools.Annotations.AnnDrawable
Leadtools.Annotations.AnnObject
Leadtools.Annotations.AnnRectangleObject
Leadtools.Annotations.AnnImageObject
Leadtools.Annotations.AnnHotspotObject
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7