Class PdfLoadedTextWebLinkAnnotation
Represents the loaded text web link annotation class.
Inheritance
System.Object
PdfLoadedTextWebLinkAnnotation
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Namespace: Syncfusion.Pdf.Interactive
Assembly: Syncfusion.Pdf.NET.dll
Syntax
public class PdfLoadedTextWebLinkAnnotation : PdfLoadedStyledAnnotation, IPdfWrapper, INotifyPropertyChanged
Examples
//Load an existing document.
PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf");
//Gets the annotation from loaded document.
PdfLoadedTextWebLinkAnnotation textWeblinkAnnotation = document.Pages[1].Annotations[5] as PdfLoadedTextWebLinkAnnotation;
//Sets the text web link annotation URI
textWeblinkAnnotation.Url="http://www.syncfusion.com";
//Save the document.
document.Save("TextWebLinkAnnotation.pdf");
document.Close(true);
'Load an existing document.
Dim document As New PdfLoadedDocument("..\..\Annotations.pdf")
'Gets the annotation from loaded document.
Dim textWeblinkAnnotation As PdfLoadedTextWebLinkAnnotation = document.Pages(1).Annotations(5) as PdfLoadedTextWebLinkAnnotation
'Sets the text web link annotation URI
textWeblinkAnnotation.Url="http://www.syncfusion.com"
'Save the document.
document.Save("TextWebLinkAnnotation.pdf")
document.Close(True)
Properties
Url
Gets or sets the Url.
Declaration
public string Url { get; set; }
Property Value
Type |
---|
System.String |
Examples
//Load an existing document.
PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf");
//Gets the annotation from loaded document.
PdfLoadedTextWebLinkAnnotation textWeblinkAnnotation = document.Pages[1].Annotations[5] as PdfLoadedTextWebLinkAnnotation;
//Sets the text web link annotation URI
textWeblinkAnnotation.Url="http://www.syncfusion.com";
//Save the document.
document.Save("TextWebLinkAnnotation.pdf");
document.Close(true);
'Load an existing document.
Dim document As New PdfLoadedDocument("..\..\Annotations.pdf")
'Gets the annotation from loaded document.
Dim textWeblinkAnnotation As PdfLoadedTextWebLinkAnnotation = document.Pages(1).Annotations(5) as PdfLoadedTextWebLinkAnnotation
'Sets the text web link annotation URI
textWeblinkAnnotation.Url="http://www.syncfusion.com"
'Save the document.
document.Save("TextWebLinkAnnotation.pdf")
document.Close(True)
Methods
Save()
Declaration
protected override void Save()
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged