Visual Basic (Declaration) | |
---|---|
<SerializableAttribute()> Public Class AnnHotspotObject Inherits AnnImageObject Implements IAnnPictureObject |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[SerializableAttribute()] public class AnnHotspotObject : AnnImageObject, IAnnPictureObject |
C++/CLI | |
---|---|
[SerializableAttribute()] public ref class AnnHotspotObject : public AnnImageObject, IAnnPictureObject |
XAML Object Element Usage | |
---|---|
<AnnHotspotObject .../> |
XAML Object Element Usage | |
---|---|
<AnnHotspotObject .../> |
This example creates a hotspot object.
Visual Basic | Copy Code |
---|---|
Private Sub AnnHotspotObject_AnnHotspotObject(ByVal container As AnnContainer) |
C# | Copy Code |
---|---|
private void AnnHotspotObject_AnnHotspotObject(AnnContainer container) |
XAML | Copy Code |
---|---|
<Window x:Class="WPFSamples.AnnHotspotObject" Title="Leadtools.Windows.Annotations" Height="600" Width="800" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Leadtools_Windows_Annotations="clr-namespace:Leadtools.Windows.Annotations;assembly=Leadtools.Windows.Annotations"> |
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 WPF AnnHotspotObject. For more information about the automated hotspot annotation object, refer to WPF Annotation Objects - Automated Features and WPF Automated Annotations - Hotspot Picture Tab.System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
Leadtools.Windows.Annotations.AnnObjectBase
Leadtools.Windows.Annotations.AnnRectangleObject
Leadtools.Windows.Annotations.AnnImageObject
Leadtools.Windows.Annotations.AnnHotspotObject
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family