Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
AnnRubberStampObject Class
See Also  Members   Example 
Leadtools.Windows.Annotations Namespace : AnnRubberStampObject Class





Defines an annotation stamp object.

Object Model



Syntax

Visual Basic (Declaration) 
<SerializableAttribute()>
Public Class AnnRubberStampObject 
   Inherits AnnRectangleObject
Visual Basic (Usage)Copy Code
Dim instance As AnnRubberStampObject
C# 
[SerializableAttribute()]
public class AnnRubberStampObject : AnnRectangleObject 
C++/CLI 
[SerializableAttribute()]
public ref class AnnRubberStampObject : public AnnRectangleObject 
XAML Object Element Usage 

<AnnRubberStampObject .../>

XAML Object Element Usage 

<AnnRubberStampObject .../>

Example

For XAML example, refer to AnnGroupObject.

This example creates a new rubber stamp, and then addes it to the container.

Visual BasicCopy Code
Private Sub AnnRubberStampObject_AnnRubberStampObject(ByVal container As AnnContainer)
  Dim rubberStamp As AnnRubberStampObject = New AnnRubberStampObject()
  rubberStamp.Left = 100
  rubberStamp.Top = 200
  rubberStamp.Width = 400
  rubberStamp.Height = 600
  rubberStamp.Type = AnnRubberStampType.Approved
  container.Children.Add(rubberStamp)
End Sub
C#Copy Code
private void AnnRubberStampObject_AnnRubberStampObject(AnnContainer container) 

   AnnRubberStampObject rubberStamp = new AnnRubberStampObject(); 
   rubberStamp.Left = 100; 
   rubberStamp.Top = 200; 
   rubberStamp.Width = 400; 
   rubberStamp.Height = 600; 
   rubberStamp.Type = AnnRubberStampType.Approved; 
   container.Children.Add(rubberStamp); 
}

Remarks

The rubber stamp annotation object is an image that has a predefined image.

For information regarding default text strings used throughout the user interface in the automated mode, including information on how to override them, refer to Localization of LEADTOOLS for .NET WPF Annotations Automation

///

For more information about the rubber stamp annotation object refer to AnnRubberStampObject for WPF. For more information about the automated rubber stamp annotation object, refer to WPF Annotation Objects - Automated Features and WPF Automated Annotations - Stamp Picture Tab.

Inheritance Hierarchy

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.AnnRubberStampObject

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also

AnnRubberStampObject requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.