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![](dotnetdiagramimages/Leadtools_Windows_Annotations_Leadtools_Windows_Annotations_AnnRubberStampObject.png)
Visual Basic (Declaration) | |
---|---|
Public Class AnnRubberStampObject Inherits AnnRectangleObject Implements IAnnHeader, IAnnObject, IAnnRectangle |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As AnnRubberStampObject |
C# | |
---|---|
public class AnnRubberStampObject : AnnRectangleObject, IAnnHeader, IAnnObject, IAnnRectangle |
C++/CLI | |
---|---|
public ref class AnnRubberStampObject : public AnnRectangleObject, IAnnHeader, IAnnObject, IAnnRectangle |
For XAML example, refer to AnnGroupObject.
This example creates a new rubber stamp, and then addes it to the container.
Visual Basic | ![]() |
---|---|
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# | ![]() |
---|---|
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); } |
SilverlightCSharp | ![]() |
---|---|
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); } |
SilverlightVB | ![]() |
---|---|
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 |
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.
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
Leadtools.Windows.Annotations.AnnObject
Leadtools.Windows.Annotations.AnnRectangleObject
Leadtools.Windows.Annotations.AnnRubberStampObject
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)