alexa

    Show / Hide Table of Contents

    Enum PdfPopupIcon

    Specifies the enumeration of popup annotation icons.

    Namespace: Syncfusion.Pdf.Interactive
    Assembly: Syncfusion.Pdf.Base.dll
    Syntax
    public enum PdfPopupIcon
    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)

    Fields

    Name Description
    Check

    Indicates Check popup annotation.

    Circle

    Indicates Circle popup annotation.

    Comment

    Indicates comment popup annotation.

    Cross

    Indicates Cross popup annotation.

    CrossHairs

    Indicates CrossHairs popup annotation.

    Help

    Indicates help popup annotation.

    Insert

    Indicates insert popup annotation.

    Key

    Indicates key popup annotation.

    NewParagraph

    Indicates new paragraph popup annotation.

    Note

    Indicates note popup annotation.

    Paragraph

    Indicates paragraph popup annotation.

    RightArrow

    Indicates RightArrow popup annotation.

    RightPointer

    Indicates RightPointer popup annotation.

    Star

    Indicates Star popup annotation.

    UpArrow

    Indicates UpArrow popup annotation.

    UpLeftArrow

    Indicates UpLeftArrow popup annotation.

    Back to top Generated by DocFX