Class PdfLoadedUriAnnotation
- Namespace
- Syncfusion.Pdf.Interactive
- Assembly
- Syncfusion.Pdf.Portable.dll
Represents the loaded unique resource identifier annotation class.
public class PdfLoadedUriAnnotation : PdfLoadedStyledAnnotation, INotifyPropertyChanged
- Inheritance
-
PdfLoadedUriAnnotation
- Implements
- Derived
- Inherited Members
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.
public string Uri { get; set; }
Property Value
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)
- See Also
Methods
Save()
Saves an annotation.
protected override void Save()
- See Also