←Select platform

DocumentLink Structure

Summary

Holds the properties of a link inside the document.

Syntax
C#
VB
C++
Java
[SerializableAttribute()] 
[DataContractAttribute()] 
public struct DocumentLink 
<SerializableAttribute(),  
 DataContractAttribute()>  
Public Structure DocumentLink 
public [SerializableAttribute,  
   DataContractAttribute] 
   value class DocumentLink sealed 
public class DocumentLink implements Serializable 
Remarks

The links of a document page can be get and set using GetLinks and SetLinks and contain the following members:

Member Description
Bounds
The location and size of the link in the page.
LinkType
Type of the link target: An internal position in the same document or an external value (hyperlink)
Target
The target in the document if this is an internal link
Value
The value (hyperlink) if this is an external link that can automatically be parsed using the regular expressions stored in DocumentText.LinkPatterns.

Example

For an example, refer to DocumentPage.GetLinks.

Requirements
Target Platforms
See Also

Reference

Leadtools.Document Namespace

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.