←Select platform

Target Property

Summary

Target properties if this is an internal link.

Syntax
C#
VB
C++
Java
public DocumentLinkTarget Target { get; set; } 
Public Property Target() As DocumentLinkTarget 
   Get 
   Set 
public:  
   property DocumentLinkTarget^ Target 
   { 
      DocumentLinkTarget^ get() 
      void set(DocumentLinkTarget^ value) 
   } 
public DocumentLinkTarget getTarget() 
public void setTarget(DocumentLinkTarget value) 

Property Value

The target properties if this is an internal link. Default value is a default DocumentLinkTarget structure.

Remarks

Target should be used when LinkType is DocumentLinkType.Target.

DocumentLinkTarget contains the properties required for an internal link in the same document. Including: Target page number and position and optional zoom and page fit modes.

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

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

Leadtools.Document Assembly