Enum PdfRubberStampAnnotationIcon
- Namespace
- Syncfusion.Pdf.Interactive
- Assembly
- Syncfusion.Pdf.Portable.dll
Specifies the enumeration of rubber stamp annotation icons.
public enum PdfRubberStampAnnotationIcon
Fields
Approved = 0Indicates approved rubber stamp annotation
AsIs = 1Indicates AsIs rubber stamp annotation
Completed = 14Indicates Completed rubber stamp annotation
Confidential = 2Indicates confidential rubber stamp annotation
Departmental = 3Indicates departmental rubber stamp annotation
Draft = 4Indicates draft rubber stamp annotation
Experimental = 5Indicates experimental rubber stamp annotation
Expired = 6Indicates expired rubber stamp annotation
Final = 7Indicates final rubber stamp annotation
ForComment = 8Indicates for comment rubber stamp annotation
ForPublicRelease = 9Indicates for public release rubber stamp annotation
InformationOnly = 16Indicates information only rubber stamp annotation
NotApproved = 10Indicates not approved rubber stamp annotation
NotForPublicRelease = 11Indicates not for public release rubber stamp annotation
PreliminaryResults = 17Indicates preliminary results rubber stamp annotation
Sold = 12Indicates sold rubber stamp annotation
TopSecret = 13Indicates top secret rubber stamp annotation
Void = 15Indicates 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)