←Select platform

Value Property (DocumentLink)

Summary

Value if this is an external link.

Syntax

C#
VB
Java
C++
public string Value { get; set; }
Public Property Value() As String 
   Get 
   Set 
public:  
   property String^ Value 
   { 
      String^ get() 
      void set(String^ value) 
   } 
public String getValue() 
public void setValue(String value) 

Property Value

The value of the external link. Default value is null.

Remarks

Typically, a URL to an external resource (hyperlink) is stored here. This value is user-defined and can be anything, it is up to the implementation of the document and the viewing application to determine the format and valid ranges for Value.

Value should be used when LinkType is DocumentLinkType.Value.

Viewer applications can use this value to provide UI support for links. Typically, change the pointer when it hovers over the link Bounds and perform the action when the user clicks on this area: either go to Target if this is an internal link or invoke the hyperlink in Value if this is an external link depending on LinkType.

Example

For an example, refer to DocumentPage.GetLinks.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Documents Assembly
Click or drag to resize