←Select platform

AnnRubberStampObject Class

Summary

Defines an annotation stamp object.

Syntax

C#
VB
C++
[SerializableAttribute()] 
public class AnnRubberStampObject : AnnRectangleObject 
  
<SerializableAttribute()> 
Public Class AnnRubberStampObject  
   Inherits Leadtools.Annotations.AnnRectangleObject 
   Implements System.ICloneable, System.IDisposable, System.Runtime.Serialization.ISerializable  
[SerializableAttribute()] 
public ref class AnnRubberStampObject : public Leadtools.Annotations.AnnRectangleObject, System.ICloneable, System.IDisposable, System.Runtime.Serialization.ISerializable   

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 (Deprecated)

For more information about the rubber stamp annotation object refer to AnnRubberStampObject (Deprecated). For more information about the automated rubber stamp annotation object, refer to Annotation Objects - Automated Features (Deprecated) and Automated Annotations - Stamp Picture Tab (Deprecated).

Example

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

C#
VB
using Leadtools; 
using Leadtools.Annotations; 
using Leadtools.Codecs; 
using Leadtools.WinForms; 
 
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); 
} 
Imports Leadtools 
Imports Leadtools.Annotations 
Imports Leadtools.Codecs 
Imports Leadtools.WinForms 
 
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 

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly