Error processing SSI file
LEADTOOLS Leadtools.Documents.UI (Leadtools.Documents.UI assembly)

Show in webframe

DocumentViewerPageLinksInteractiveMode Class






Members 
Provides support for using the mouse or touch to click on page links and invoke their targets.
Object Model
Syntax
public class DocumentViewerPageLinksInteractiveMode : Leadtools.Controls.ImageViewerInteractiveMode 
'Declaration
 
Public Class DocumentViewerPageLinksInteractiveMode 
   Inherits Leadtools.Controls.ImageViewerInteractiveMode
public ref class DocumentViewerPageLinksInteractiveMode : public Leadtools.Controls.ImageViewerInteractiveMode 
Remarks

Page links are stored in each DocumentPage object in the current Document and can be obtained using the DocumentPage.GetLinks method.

Each link is of type DocumentLink that contain the LinkType property that specifies if the the target of the link is another location in the same page or document, or if the target is an external value (such as a hyperlink).

As well as the type, each link contains Bounds that specifies the location and size in the page in document coordinates.

In typical document viewing applications, the links should show an indication when the user hover over them with the mouse, such as changing the mouse cursor to a "hand". Also, when the user clicks on the link, the default action should invoked if possible, such as going to the target location specified by the link in the document.

This mode supports running links only when the user clicks over an item while pressing down a keyboard modifier through RunLinkKeyModifier. The default value is None. But can modify if needed - for example, set it to Control to mimic how Microsoft Word perform clicking on links embedded in a document.

When this DocumentViewer is created, An instance of DocumentViewerPageLinksInteractiveMode is initialized and added to the InteractiveModes list of the ImageViewer of the View.

DocumentViewerPageLinksInteractiveMode is an interactive mode that can handle the actions described above automatically. It will change the mouse cursor (when the platform supports them) to a "Hand" when the user hovers over the links and when the user clicks on them, it will inform the user and optionally invoke the action specified by the link automatically if the target was a location in the document.

This mode works as follows:

Requirements

Target Platforms

See Also

Reference

DocumentViewerPageLinksInteractiveMode Members
Leadtools.Documents.UI Namespace
Using LEADTOOLS Document Viewer

Error processing SSI file
Leadtools.Documents.UI requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features