←Select platform

DocumentLinkTarget Structure

Summary

Defines the target of an internal link in the document.

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

Remarks

DocumentLinkTarget contains the properties required for a link that targets other parts of the document. It is used as the value of DocumentLink.Target for internal page links and as the value of DocumentBookmark.Target used to define document bookmarks (table of content).

Viewer applications would normally perform the following when a link target is invoked:

  1. Go to the page number specified in PageNumber.

  2. Check the value of PageFitType, if it is other than DocumentPageFitType.None then fit the page as specified.

  3. If the of PageFitType is DocumentPageFitType.None then use Position to scroll to a specific position in the page and optionally ZoomPercent to update the zoom value.

Example

For an example, refer to DocumentPage.GetLinks and DocumentStructure.

Requirements

Target Platforms

See Also

Reference

Leadtools.Document Namespace

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