Table of Contents

Enum PdfRubberStampAnnotationIcon

Namespace
Syncfusion.Pdf.Interactive
Assembly
Syncfusion.Pdf.Portable.dll

Specifies the enumeration of rubber stamp annotation icons.

public enum PdfRubberStampAnnotationIcon

Fields

Approved = 0

Indicates approved rubber stamp annotation

AsIs = 1

Indicates AsIs rubber stamp annotation

Completed = 14

Indicates Completed rubber stamp annotation

Confidential = 2

Indicates confidential rubber stamp annotation

Departmental = 3

Indicates departmental rubber stamp annotation

Draft = 4

Indicates draft rubber stamp annotation

Experimental = 5

Indicates experimental rubber stamp annotation

Expired = 6

Indicates expired rubber stamp annotation

Final = 7

Indicates final rubber stamp annotation

ForComment = 8

Indicates for comment rubber stamp annotation

ForPublicRelease = 9

Indicates for public release rubber stamp annotation

InformationOnly = 16

Indicates information only rubber stamp annotation

NotApproved = 10

Indicates not approved rubber stamp annotation

NotForPublicRelease = 11

Indicates not for public release rubber stamp annotation

PreliminaryResults = 17

Indicates preliminary results rubber stamp annotation

Sold = 12

Indicates sold rubber stamp annotation

TopSecret = 13

Indicates top secret rubber stamp annotation

Void = 15

Indicates void rubber stamp annotation

Examples

//Load an existing document.
PdfLoadedDocument loadedDocument = new PdfLoadedDocument("Input.Pdf");
//Gets the annotation from loaded document.
PdfLoadedRubberStampAnnotation rubberStampAnnotation = loadedDocument.Pages[1].Annotations[5] as PdfLoadedRubberStampAnnotation;
//Set the icon
rubberStampAnnotation.Icon = PdfRubberStampAnnotationIcon.Approved;
//Save the document.
loadedDocument.Save("Output.pdf");
//close the document
loadedDocument.Close(true);
'Load an existing document.
Dim loadedDocument As New PdfLoadedDocument("Input.Pdf")
'Gets the annotation from loaded document.
Dim rubberStampAnnotation As PdfLoadedRubberStampAnnotation = TryCast(loadedDocument.Pages(1).Annotations(5), PdfLoadedRubberStampAnnotation)
'Set the icon
rubberStampAnnotation.Icon = PdfRubberStampAnnotationIcon.Approved
'Save the document.
loadedDocument.Save("Output.pdf")
'close the document
loadedDocument.Close(True)