Error processing SSI file
LEADTOOLS Leadtools.Documents (Leadtools.Documents assembly)

Show in webframe

SetLinks Method






An array containing the new links for this page. A value of null is supported.
Replaces the links of this page.
Syntax
public void SetLinks( 
   DocumentLink[] links
)
'Declaration
 
Public Sub SetLinks( _
   ByVal links() As DocumentLink _
) 
'Usage
 
Dim instance As DocumentPage
Dim links() As DocumentLink
 
instance.SetLinks(links)
public void setLinks(DocumentLink[] links)
            
public:
void SetLinks( 
   array<DocumentLink>^ links
) 

Parameters

links
An array containing the new links for this page. A value of null is supported.
Remarks

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.

Example

For an example, refer to GetLinks.

Requirements

Target Platforms

See Also

Reference

DocumentPage Class
DocumentPage Members

Error processing SSI file
   Leadtools.Documents requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features