Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.2
|
Leadtools.Annotations Namespace : AnnHotspotObject Class |
[SerializableAttribute()] public class AnnHotspotObject : AnnImageObject, IAnnPictureObject, System.ICloneable, System.IDisposable, System.Runtime.Serialization.ISerializable
'Declaration <SerializableAttribute()> Public Class AnnHotspotObject Inherits AnnImageObject Implements IAnnPictureObject, System.ICloneable, System.IDisposable, System.Runtime.Serialization.ISerializable
'Usage Dim instance As AnnHotspotObject
[SerializableAttribute()] public ref class AnnHotspotObject : public AnnImageObject, IAnnPictureObject, System.ICloneable, System.IDisposable, System.Runtime.Serialization.ISerializable
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.This example creates a hotspot object.
Imports Leadtools Imports Leadtools.Annotations Imports Leadtools.Codecs Imports Leadtools.WinForms 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
using Leadtools; using Leadtools.Annotations; using Leadtools.Codecs; using Leadtools.WinForms; private void AnnHotspotObject_AnnHotspotObject(AnnContainer container) { AnnHotspotObject hotspot = new AnnHotspotObject(); hotspot.Bounds = new AnnRectangle(100, 200, 400, 600, AnnUnit.Pixel); container.Objects.Add(hotspot); }