menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PdfLoadedUriAnnotation - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PdfLoadedUriAnnotation

    Represents the loaded unique resource identifier annotation class.

    Inheritance
    System.Object
    PdfAnnotation
    PdfLoadedAnnotation
    PdfLoadedStyledAnnotation
    PdfLoadedUriAnnotation
    PdfLoadedWebLinkAnnotation
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    PdfAnnotation.CalculateBounds(RectangleF, PdfPage, PdfLoadedPage)
    PdfAnnotation.CalculateTemplateBounds(RectangleF, PdfPageBase, PdfTemplate)
    PdfAnnotation.CalculateTemplateBounds(RectangleF, PdfPageBase, PdfTemplate, Boolean)
    PdfAnnotation.CalculateTemplateBounds(RectangleF, PdfPageBase, PdfTemplate, Boolean, PdfGraphics)
    PdfAnnotation.Flatten
    PdfAnnotation.FlattenPopUps
    PdfAnnotation.Initialize()
    PdfAnnotation.Layer
    PdfAnnotation.PdfTag
    PdfAnnotation.PropertyChanged
    PdfAnnotation.Rotate
    PdfAnnotation.SetAppearance(Boolean)
    PdfLoadedAnnotation.CreationDate
    PdfLoadedAnnotation.GetValues(String)
    PdfLoadedAnnotation.ObjectID
    PdfLoadedAnnotation.Page
    PdfLoadedAnnotation.SetText(String)
    PdfLoadedAnnotation.SetValues(String, String)
    PdfLoadedAnnotation.Type
    PdfLoadedStyledAnnotation.AnnotationFlags
    PdfLoadedStyledAnnotation.Author
    PdfLoadedStyledAnnotation.Border
    PdfLoadedStyledAnnotation.Bounds
    PdfLoadedStyledAnnotation.CheckFlatten()
    PdfLoadedStyledAnnotation.Color
    PdfLoadedStyledAnnotation.FlattenAnnotationTemplate(PdfTemplate, Boolean)
    PdfLoadedStyledAnnotation.InnerColor
    PdfLoadedStyledAnnotation.Location
    PdfLoadedStyledAnnotation.ModifiedDate
    PdfLoadedStyledAnnotation.Name
    PdfLoadedStyledAnnotation.Opacity
    PdfLoadedStyledAnnotation.Size
    PdfLoadedStyledAnnotation.Subject
    PdfLoadedStyledAnnotation.Text
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Pdf.Interactive
    Assembly: Syncfusion.Pdf.Base.dll
    Syntax
    public class PdfLoadedUriAnnotation : PdfLoadedStyledAnnotation, IPdfWrapper, INotifyPropertyChanged
    Examples
    //Load an existing document.
    PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf");
    //Gets the annotation from loaded document.
    PdfLoadedUriAnnotation UriAnnotation = document.Pages[1].Annotations[5] as PdfLoadedUriAnnotation;
    //Sets the uri annotation URI
    UriAnnotation.Url="http://www.syncfusion.com";
    //Save the document.
    document.Save("UriAnnotation.pdf");
    document.Close(true);
    'Load an existing document.
    Dim document As New PdfLoadedDocument("..\..\Annotations.pdf")
    'Gets the annotation from loaded document.
    Dim UriAnnotation As PdfLoadedUriAnnotation = document.Pages(1).Annotations(5) as PdfLoadedUriAnnotation
    'Sets the uri annotation URI
    UriAnnotation.Url="http://www.syncfusion.com"
    'Save the document.
    document.Save("UriAnnotation.pdf")
    document.Close(True)

    Properties

    Uri

    Gets or sets the unique resource identifier text of the annotation.

    Declaration
    public string Uri { get; set; }
    Property Value
    Type
    System.String
    Examples
    //Load an existing document.
    PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf");
    //Gets the annotation from loaded document.
    PdfLoadedUriAnnotation UriAnnotation = document.Pages[1].Annotations[5] as PdfLoadedUriAnnotation;
    //Sets the uri annotation URI
    UriAnnotation.Url="http://www.syncfusion.com";
    //Save the document.
    document.Save("UriAnnotation.pdf");
    document.Close(true);
    'Load an existing document.
    Dim document As New PdfLoadedDocument("..\..\Annotations.pdf")
    'Gets the annotation from loaded document.
    Dim UriAnnotation As PdfLoadedUriAnnotation = document.Pages(1).Annotations(5) as PdfLoadedUriAnnotation
    'Sets the uri annotation URI
    UriAnnotation.Url="http://www.syncfusion.com"
    'Save the document.
    document.Save("UriAnnotation.pdf")
    document.Close(True)

    Methods

    Save()

    Declaration
    protected override void Save()
    Overrides
    PdfAnnotation.Save()

    Implements

    System.ComponentModel.INotifyPropertyChanged

    See Also

    PdfLoadedAttachmentAnnotation
    PdfLoadedDocumentLinkAnnotation
    PdfLoadedFileLinkAnnotation
    PdfLoadedLineAnnotation
    PdfLoadedPopupAnnotation
    PdfLoadedRubberStampAnnotation
    PdfLoadedSoundAnnotation
    PdfLoadedTextMarkupAnnotation
    PdfLoadedTextWebLinkAnnotation
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved