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.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); }