Visual Basic (Declaration) | |
---|---|
<SerializableAttribute()> Public Class AnnPointObject Inherits AnnObjectBase Implements IAnnPictureObject |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[SerializableAttribute()] public class AnnPointObject : AnnObjectBase, IAnnPictureObject |
C++/CLI | |
---|---|
[SerializableAttribute()] public ref class AnnPointObject : public AnnObjectBase, IAnnPictureObject |
XAML Object Element Usage | |
---|---|
<AnnPointObject .../> |
XAML Object Element Usage | |
---|---|
<AnnPointObject .../> |
This example adds a new point object to a container.
Visual Basic | Copy Code |
---|---|
Private Sub AnnPointObject_AnnPointObject(ByVal viewer As BitmapSourceViewer, ByVal container As AnnContainer) |
C# | Copy Code |
---|---|
private void AnnPointObject_AnnPointObject(BitmapSourceViewer viewer, AnnContainer container) |
XAML | Copy Code |
---|---|
<Window x:Class="WPFSamples.AnnPointObject" 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"> |
This class implements the IAnnPictureObject interface and accesses the IAnnPictureObject.Picture property that handles the picture associated with the annotation object.
For more information, refer to Using Pictures in WPF Annotation Objects
For more information about the point annotation object refer to AnnPointObject for WPF. For more information about the automated point annotation object, refer to WPF Annotation Objects - Automated Features and WPF Automated Annotations - Point 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.AnnPointObject
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family