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



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

Defines an annotation stamp object.

Object Model

AnnRubberStampObject ClassAnnRectangle StructureAnnRectangle StructureAnnBrush ClassAnnContainer ClassAnnFont ClassAnnGroupObject ClassAnnFont ClassAnnPoint StructureAnnPoint StructureAnnPen ClassAnnPoint StructureAnnPoint StructureAnnUnitConverter Class

Syntax

Visual Basic (Declaration) 
<SerializableAttribute()>
Public Class AnnRubberStampObject 
   Inherits AnnRectangleObject
   Implements ICloneableIDisposableISerializable 
Visual Basic (Usage)Copy Code
Dim instance As AnnRubberStampObject
C# 
[SerializableAttribute()]
public class AnnRubberStampObject : AnnRectangleObject, ICloneableIDisposableISerializable  
C++/CLI 
[SerializableAttribute()]
public ref class AnnRubberStampObject : public AnnRectangleObject, ICloneableIDisposableISerializable  

Example

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.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);
}

Remarks

The rubber stamp annotation object is an image that has a predefined metafile.

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.

Inheritance Hierarchy

System.Object
   Leadtools.Annotations.AnnDrawable
      Leadtools.Annotations.AnnObject
         Leadtools.Annotations.AnnRectangleObject
            Leadtools.Annotations.AnnRubberStampObject

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features