←Select platform

AnnRubberStampObject Class

Summary

Defines an annotation stamp object.

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.

Example

For XAML example, refer to AnnGroupObject.

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

C#
VB
Silverlight C#
Silverlight VB
Imports Leadtools.Windows.Controls 
Imports Leadtools.Windows.Annotations 
 
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 
using Leadtools.Windows.Controls; 
using Leadtools.Windows.Annotations; 
using Leadtools.Demos; 
using Leadtools.Help; 
 
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); 
} 
using Leadtools.Windows.Controls; 
using Leadtools.Windows.Annotations; 
using Leadtools.Examples; 
 
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); 
} 
Imports Leadtools.Windows.Controls 
Imports Leadtools.Windows.Annotations 
 
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 

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Windows.Annotations Assembly
Click or drag to resize