LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
AnnRubberStampObject Class
See Also  Members  
Leadtools.Windows.Annotations Namespace : AnnRubberStampObject Class



The AnnRubberStampObject Class supports WPF/Silverlight.

The AnnRubberStampObject Class is available in LEADTOOLS Document and Medical Imaging toolkits.

Defines an annotation stamp object. Supported in Silverlight, Windows Phone 7

Object Model

AnnRubberStampObject Class

Syntax

Visual Basic (Declaration) 
Public Class AnnRubberStampObject 
   Inherits AnnRectangleObject
   Implements IAnnHeaderIAnnObjectIAnnRectangle 
Visual Basic (Usage)Copy Code
Dim instance As AnnRubberStampObject
C# 
public class AnnRubberStampObject : AnnRectangleObject, IAnnHeaderIAnnObjectIAnnRectangle  
C++/CLI 
public ref class AnnRubberStampObject : public AnnRectangleObject, IAnnHeaderIAnnObjectIAnnRectangle  

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.Rect = New Rect(100, 200, 400, 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.Rect= new Rect(100, 200, 400, 600);
   rubberStamp.Type = AnnRubberStampType.Approved;
   container.Children.Add(rubberStamp);
}
SilverlightCSharpCopy Code
private void AnnRubberStampObject_AnnRubberStampObject(AnnContainer container)
{
   AnnRubberStampObject rubberStamp = new AnnRubberStampObject();
   rubberStamp.Rect= new Rect(100, 200, 400, 600);
   rubberStamp.Type = AnnRubberStampType.Approved;
   container.Children.Add(rubberStamp);
}
SilverlightVBCopy Code
Private Sub AnnRubberStampObject_AnnRubberStampObject(ByVal container As AnnContainer)
   Dim rubberStamp As AnnRubberStampObject = New AnnRubberStampObject()
   rubberStamp.Rect= New Rect(100, 200, 400, 600)
   rubberStamp.Type = AnnRubberStampType.Approved
   container.Children.Add(rubberStamp)
End Sub

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
         Leadtools.Windows.Annotations.AnnObject
            Leadtools.Windows.Annotations.AnnRectangleObject
               Leadtools.Windows.Annotations.AnnRubberStampObject

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

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.