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