Index
- Installation
- Getting Started
- Memory Usage
- Readers and Writers
- The Document Class
- Metadata
- Pages
- Canvas
- Page Layout and Mode
- Viewer Preferences
- Document Outline
- Page Labels
- Actions
- Destinations
- Annotations
- Embedded File Streams
- Colors and Color Spaces
- Page Formats and Boundaries
- Standard and Public Key Encryption
- Fonts and Encodings
- Corrupted Documents
- Reader Enabled Documents
- Refactor Old SetaPDF Code
- API Reference
Rubber Stamp Annotation Class
Table of Contents
Introduction
A rubber stamp annotation displays text or graphics intended to look as if they were stamped on the page with a rubber stamp. It is represented by the SetaPDF_Core_Document_Page_Annotation_Stamp
class which also implements the markup annotation class.
The PDF format specifies several icon names that shall be used in displaying the annotation. These icons are represented via class constants in SetaPDF too:
Icon name defined in PDF 32000-1:2008 - 12.5.6.12 Rubber Stamp Annotations
Icon name defined in PDF 32000-1:2008 - 12.5.6.12 Rubber Stamp Annotations
Icon name defined in PDF 32000-1:2008 - 12.5.6.12 Rubber Stamp Annotations
Icon name defined in PDF 32000-1:2008 - 12.5.6.12 Rubber Stamp Annotations
Icon name defined in PDF 32000-1:2008 - 12.5.6.12 Rubber Stamp Annotations
Icon name defined in PDF 32000-1:2008 - 12.5.6.12 Rubber Stamp Annotations
Icon name defined in PDF 32000-1:2008 - 12.5.6.12 Rubber Stamp Annotations
Icon name defined in PDF 32000-1:2008 - 12.5.6.12 Rubber Stamp Annotations
Icon name defined in PDF 32000-1:2008 - 12.5.6.12 Rubber Stamp Annotations
Icon name defined in PDF 32000-1:2008 - 12.5.6.12 Rubber Stamp Annotations
Icon name defined in PDF 32000-1:2008 - 12.5.6.12 Rubber Stamp Annotations
Icon name defined in PDF 32000-1:2008 - 12.5.6.12 Rubber Stamp Annotations
Icon name defined in PDF 32000-1:2008 - 12.5.6.12 Rubber Stamp Annotations
Icon name defined in PDF 32000-1:2008 - 12.5.6.12 Rubber Stamp Annotations
Methods
The classes implements getter and setter methods to access the individual annotation data:
getIconName()
Get the icon name of the annotation.
setIconName()
Set the name of the icon that shall be used in displaying the annotation.
Examples
Add Two Rubber Stamp Annotations
Add 2 stamp annotations without appearance (up to the reader application):
Add Rubber Stamp Annotations With Individual Appearance
Add a single rubber stamp annotation with an individual appearance: