UWP

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PdfPopupIcon

    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.UWP.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

    Comment

    Indicates comment popup annotation.

    Declaration
    public const PdfPopupIcon Comment
    Field Value
    Type Description
    PdfPopupIcon

    Help

    Indicates help popup annotation.

    Declaration
    public const PdfPopupIcon Help
    Field Value
    Type Description
    PdfPopupIcon

    Insert

    Indicates insert popup annotation.

    Declaration
    public const PdfPopupIcon Insert
    Field Value
    Type Description
    PdfPopupIcon

    Key

    Indicates key popup annotation.

    Declaration
    public const PdfPopupIcon Key
    Field Value
    Type Description
    PdfPopupIcon

    NewParagraph

    Indicates new paragraph popup annotation.

    Declaration
    public const PdfPopupIcon NewParagraph
    Field Value
    Type Description
    PdfPopupIcon

    Note

    Indicates note popup annotation.

    Declaration
    public const PdfPopupIcon Note
    Field Value
    Type Description
    PdfPopupIcon

    Paragraph

    Indicates paragraph popup annotation.

    Declaration
    public const PdfPopupIcon Paragraph
    Field Value
    Type Description
    PdfPopupIcon

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved