Class PdfLoadedTextWebLinkAnnotation
Represents the loaded text web link annotation class.
Inheritance
System.Object
PdfLoadedTextWebLinkAnnotation
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.Pdf.Interactive
Assembly: Syncfusion.Pdf.Base.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 | Description |
---|---|
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