Replaces the links of this page.
public void SetLinks(
DocumentLink[] links
)
Public Sub SetLinks(
ByVal links() As DocumentLink
)
public:
void SetLinks(
array<DocumentLink^>^ links
)
public void setLinks(DocumentLink[] links)
links
An array containing the new links for this page. A value of null is supported.
GetLinks is used to get the links found in this page. All document types support this method however, the links are not read from the original document till DocumentStructure.IsParsed has been called.
SetLinks is used to replace the links of the page. IsLinksModified is used to as flag that indicates that the links of this page has been replaced by the user.
If this document uses the cache system (Document.HasCache is true), then the links are stored in the cache only when Document.SaveToCache is called.
The LEADTOOLS Document Viewer uses this method to obtain the links of a page uses an interactive modes to modify the mouse cursor when the user to hover over a link as well as invoking the link target when the user clicks on a link.
Refer to Loading Using LEADTOOLS Documents Library for more information.
For an example, refer to GetLinks.
Products |
Support |
Feedback: SetLinks Method (DocumentPage) - Leadtools.Documents |
Introduction |
Help Version 19.0.2017.3.22
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.