![]() |
Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Documents Namespace > DocumentLink Structure : Target Property |
public DocumentLinkTarget Target {get; set;}
'Declaration
Public Property Target As DocumentLinkTarget
'Usage
Dim instance As DocumentLink Dim value As DocumentLinkTarget instance.Target = value value = instance.Target
public DocumentLinkTarget getTarget() public void setTarget(DocumentLinkTarget value)
public: property DocumentLinkTarget Target { DocumentLinkTarget get(); void set ( DocumentLinkTarget value); }
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.
For an example, refer to DocumentPage.GetLinks.