Table of Contents

Enum PdfPopupIcon

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

Specifies the enumeration of popup annotation icons.

public enum PdfPopupIcon

Fields

Check = 7

Indicates Check popup annotation.

Circle = 8

Indicates Circle popup annotation.

Comment = 1

Indicates comment popup annotation.

Cross = 9

Indicates Cross popup annotation.

CrossHairs = 10

Indicates CrossHairs popup annotation.

Help = 2

Indicates help popup annotation.

Insert = 3

Indicates insert popup annotation.

Key = 4

Indicates key popup annotation.

NewParagraph = 5

Indicates new paragraph popup annotation.

Note = 0

Indicates note popup annotation.

Paragraph = 6

Indicates paragraph popup annotation.

RightArrow = 11

Indicates RightArrow popup annotation.

RightPointer = 12

Indicates RightPointer popup annotation.

Star = 13

Indicates Star popup annotation.

UpArrow = 14

Indicates UpArrow popup annotation.

UpLeftArrow = 15

Indicates UpLeftArrow popup annotation.

Examples

//Create a new PDF document.
PdfDocument document = new PdfDocument();
//Create a new page.
PdfPage page = document.Pages.Add();
//Create a new rectangle
RectangleF popupAnnotationRectangle = new RectangleF(10, 40, 30, 30);
//Create a new popup annotation.
PdfPopupAnnotation popupAnnotation = new PdfPopupAnnotation(popupAnnotationRectangle, "Test popup annotation");
//Set the popup icon.
popupAnnotation.Icon = PdfPopupIcon.NewParagraph;
//Add this annotation to a new page.
page.Annotations.Add(popupAnnotation);
//Save the  document to disk.
document.Save("Output.pdf");
//close the document
document.Close(true);
'Create a new PDF document.
Dim document As New PdfDocument()
'Create a new page.
Dim page As PdfPage = document.Pages.Add()
'Create a new rectangle
Dim popupAnnotationRectangle As New RectangleF(10, 40, 30, 30)
'Create a new popup annotation.
Dim popupAnnotation As New PdfPopupAnnotation(popupAnnotationRectangle, "Test popup annotation")
'Set the popup icon.
popupAnnotation.Icon = PdfPopupIcon.NewParagraph
'Add this annotation to a new page.
page.Annotations.Add(popupAnnotation)
'Save the  document to disk.
document.Save("Output.pdf")
'close the document
document.Close(True)