Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
AnnRubberStampObject Class
See Also  Members   Example 
Leadtools.Annotations Namespace : AnnRubberStampObject Class



Defines an annotation stamp object.

Object Model














Syntax

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

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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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