PdfLoadedUriAnnotation Class
Represents the loaded unique resource identifier annotation class.
Inheritance
System.Object
PdfLoadedUriAnnotation
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
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
Implements
System.ComponentModel.INotifyPropertyChanged