The AnnRubberStampObject Class is available in LEADTOOLS Document and Medical Imaging toolkits.
Defines an annotation stamp object.Visual Basic (Declaration) | |
---|---|
<SerializableAttribute()> Public Class AnnRubberStampObject Inherits AnnRectangleObject Implements ICloneable, IDisposable, ISerializable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnRubberStampObject |
C# | |
---|---|
[SerializableAttribute()] public class AnnRubberStampObject : AnnRectangleObject, ICloneable, IDisposable, ISerializable |
C++/CLI | |
---|---|
[SerializableAttribute()] public ref class AnnRubberStampObject : public AnnRectangleObject, ICloneable, IDisposable, ISerializable |
This example creates a new rubber stamp, and then addes it to the container.
Visual Basic | Copy Code |
---|---|
Private Sub AnnRubberStampObject_AnnRubberStampObject(ByVal container As AnnContainer) Dim rubberStamp As AnnRubberStampObject = New AnnRubberStampObject() rubberStamp.Bounds = New AnnRectangle(100, 200, 400, 600, AnnUnit.Pixel) rubberStamp.Type = AnnRubberStampType.Approved container.Objects.Add(rubberStamp) End Sub |
C# | Copy Code |
---|---|
private void AnnRubberStampObject_AnnRubberStampObject(AnnContainer container) { AnnRubberStampObject rubberStamp = new AnnRubberStampObject(); rubberStamp.Bounds = new AnnRectangle(100, 200, 400, 600, AnnUnit.Pixel); rubberStamp.Type = AnnRubberStampType.Approved; container.Objects.Add(rubberStamp); } |
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 Annotations Automation
For more information about the rubber stamp annotation object refer to AnnRubberStampObject. For more information about the automated rubber stamp annotation object, refer to Annotation Objects - Automated Features and Automated Annotations - Stamp Picture Tab.
System.Object
Leadtools.Annotations.AnnDrawable
Leadtools.Annotations.AnnObject
Leadtools.Annotations.AnnRectangleObject
Leadtools.Annotations.AnnRubberStampObject
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7