menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PdfPopupIcon - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PdfPopupIcon

    Specifies the enumeration of popup annotation icons.

    Inheritance
    System.Object
    PdfPopupIcon
    Namespace: Syncfusion.Pdf.Interactive
    Assembly: Syncfusion.Pdf.Portable.dll
    Syntax
    public sealed class PdfPopupIcon : Enum
    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

    Check

    Indicates Check popup annotation.

    Declaration
    public const PdfPopupIcon Check
    Field Value
    Type
    PdfPopupIcon

    Circle

    Indicates Circle popup annotation.

    Declaration
    public const PdfPopupIcon Circle
    Field Value
    Type
    PdfPopupIcon

    Comment

    Indicates comment popup annotation.

    Declaration
    public const PdfPopupIcon Comment
    Field Value
    Type
    PdfPopupIcon

    Cross

    Indicates Cross popup annotation.

    Declaration
    public const PdfPopupIcon Cross
    Field Value
    Type
    PdfPopupIcon

    CrossHairs

    Indicates CrossHairs popup annotation.

    Declaration
    public const PdfPopupIcon CrossHairs
    Field Value
    Type
    PdfPopupIcon

    Help

    Indicates help popup annotation.

    Declaration
    public const PdfPopupIcon Help
    Field Value
    Type
    PdfPopupIcon

    Insert

    Indicates insert popup annotation.

    Declaration
    public const PdfPopupIcon Insert
    Field Value
    Type
    PdfPopupIcon

    Key

    Indicates key popup annotation.

    Declaration
    public const PdfPopupIcon Key
    Field Value
    Type
    PdfPopupIcon

    NewParagraph

    Indicates new paragraph popup annotation.

    Declaration
    public const PdfPopupIcon NewParagraph
    Field Value
    Type
    PdfPopupIcon

    Note

    Indicates note popup annotation.

    Declaration
    public const PdfPopupIcon Note
    Field Value
    Type
    PdfPopupIcon

    Paragraph

    Indicates paragraph popup annotation.

    Declaration
    public const PdfPopupIcon Paragraph
    Field Value
    Type
    PdfPopupIcon

    RightArrow

    Indicates RightArrow popup annotation.

    Declaration
    public const PdfPopupIcon RightArrow
    Field Value
    Type
    PdfPopupIcon

    RightPointer

    Indicates RightPointer popup annotation.

    Declaration
    public const PdfPopupIcon RightPointer
    Field Value
    Type
    PdfPopupIcon

    Star

    Indicates Star popup annotation.

    Declaration
    public const PdfPopupIcon Star
    Field Value
    Type
    PdfPopupIcon

    UpArrow

    Indicates UpArrow popup annotation.

    Declaration
    public const PdfPopupIcon UpArrow
    Field Value
    Type
    PdfPopupIcon

    UpLeftArrow

    Indicates UpLeftArrow popup annotation.

    Declaration
    public const PdfPopupIcon UpLeftArrow
    Field Value
    Type
    PdfPopupIcon
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved