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 : DocumentLinkTarget Structure |
[DataContractAttribute()] [SerializableAttribute()] public struct DocumentLinkTarget : System.ValueType
'Declaration
<DataContractAttribute()> <SerializableAttribute()> Public Structure DocumentLinkTarget Inherits System.ValueType
'Usage
Dim instance As DocumentLinkTarget
public class DocumentLinkTarget implements Serializable
[DataContractAttribute()] [SerializableAttribute()] public value class DocumentLinkTarget : public System.ValueType
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:
Go to the page number specified in PageNumber.
Check the value of PageFitType, if it is other than DocumentPageFitType.None then fit the page as specified.
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.
For an example, refer to DocumentPage.GetLinks and DocumentStructure.