Link Class

PDFTron SilverDox SDK

Collapse imageExpand ImageCopy imageCopyHover image
A link that is placed on a Document page. Links, which are used to navigate somewhere when clicked on, may point to an external URI, or a location within the document.

Namespace: PDFTron.SilverDox.Documents
Assembly: SilverDox (in SilverDox.dll) Version: 1.2.4413.29010

Syntax

C#
public class Link : HyperlinkButton
Visual Basic
Public Class Link _
	Inherits HyperlinkButton
Visual C++
public ref class Link : public HyperlinkButton

Remarks

Link objects are created within LoadCanvasAsync(Int32, Action<(Of <<'(Document..::..OnLoadCanvasAsyncCallbackArgs>)>>), Action<(Of <<'(Document..::..OnLoadCanvasAsyncCallbackArgs>)>>), Action<(Of <<'(Link>)>>)), and are passed back as arguments to the user callback function defined in LoadCanvasAsync(Int32, Action<(Of <<'(Document..::..OnLoadCanvasAsyncCallbackArgs>)>>), Action<(Of <<'(Document..::..OnLoadCanvasAsyncCallbackArgs>)>>), Action<(Of <<'(Link>)>>))'s fourth parameter onLinkReadyCallback. It is within the user-defined callback function that the link's behavior can be altered, for example changing the mouse cursor during a mouseover event, or navigating to a new page after a mouseup event.

Inheritance Hierarchy

System..::..Object
  System.Windows..::..DependencyObject
    System.Windows..::..UIElement
      System.Windows..::..FrameworkElement
        System.Windows.Controls..::..Control
          System.Windows.Controls..::..ContentControl
            System.Windows.Controls.Primitives..::..ButtonBase
              HyperlinkButton
                PDFTron.SilverDox.Documents..::..Link

See Also