target Property (DocumentLink)

Summary

Target properties if this is an internal link.

Syntax

JavaScript Syntax
Object.defineProperty(DocumentLink.prototype, 'target', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
target: DocumentLinkTarget;

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.

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