Defines an annotation stamp object.
public class AnnRubberStampObject : AnnRectangleObject
Public Class AnnRubberStampObject
Inherits Leadtools.Windows.Annotations.AnnRectangleObject
Implements Leadtools.Windows.Annotations.IAnnHeader, Leadtools.Windows.Annotations.IAnnObject, Leadtools.Windows.Annotations.IAnnRectangle
public ref class AnnRubberStampObject : public Leadtools.Windows.Annotations.AnnRectangleObject, Leadtools.Windows.Annotations.IAnnHeader, Leadtools.Windows.Annotations.IAnnObject, Leadtools.Windows.Annotations.IAnnRectangle
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.
For XAML example, refer to AnnGroupObject.
This example creates a new rubber stamp, and then adds it to the container.
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);
}
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.Examples;
//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);
}
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
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET