Visual Basic (Declaration) | |
---|---|
<SerializableAttribute()> Public Class AnnStampObject Inherits AnnTextObject Implements IAnnPictureObject, IAnnTextObject |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[SerializableAttribute()] public class AnnStampObject : AnnTextObject, IAnnPictureObject, IAnnTextObject |
C++/CLI | |
---|---|
[SerializableAttribute()] public ref class AnnStampObject : public AnnTextObject, IAnnPictureObject, IAnnTextObject |
XAML Object Element Usage | |
---|---|
<AnnStampObject .../> |
XAML Object Element Usage | |
---|---|
<AnnStampObject .../> |
For XAML example, refer to AnnGroupObject.
This example creates a new stamp object.
Visual Basic | Copy Code |
---|---|
Private Sub AnnStampObject_AnnStampObject(ByVal container As AnnContainer, ByVal imageFileName As String) |
C# | Copy Code |
---|---|
private void AnnStampObject_AnnStampObject(AnnContainer container, string imageFileName) |
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 stamp annotation object refer to AnnStampObject for WPF. For more information about the automated stamp annotation object, refer to WPF Annotation Objects - Automated Features and WPF Automated Annotations - Stamp 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.AnnTextObject
Leadtools.Windows.Annotations.AnnStampObject
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family