RubberStampAnnotation Class
A rubber stump annotation.
Namespace: DevExpress.Docs.Pdf
Assembly: DevExpress.Docs.Pdf.v26.1.dll
Declaration
Example
How to: Create a Rubber Stamp Annotation
The following code snippet creates a Top Secret rubber stamp:

FileStream fs = File.OpenRead("Demo.pdf");
var options = new LoadOptions();
PdfDocument document = new PdfDocument(fs, options);
RubberStampAnnotation rubberStampAnnotation = new RubberStampAnnotation(new RectangleF(10, 550, 240, 50), RubberStampAnnotationIconName.TopSecret) {
Title = "Jesse Faden",
CreationDate = DateTime.Now,
Subject = "Approval",
Content = "This document has been approved."
};
document.Pages[0].Annotations.Add(rubberStampAnnotation);
document.Save(new FileStream("Demo2.pdf", FileMode.Create, FileAccess.Write));
Implements
Inheritance
Object
BaseAnnotation
MarkupAnnotation
RubberStampAnnotation
See Also