Working with C1PrintDocument > Anchors and Hyperlinks |
Reports for WinForms hyperlinks. Hyperlinks can be attached to render objects (RenderObject and derived classes), and paragraph objects (ParagraphObject and derived classes), and can be linked to:
Hyperlinks are supported by the preview controls included in C1.Win.C1Preview assembly (C1PreviewPane, C1PrintPreviewControl and C1PrintPreviewDialog). When a document with hyperlinks in it is previewed, and the mouse hovers over a hyperlink, the cursor changes to a hand. Clicking the hyperlink will, depending on the target of the link, either jump to another location within the document, open a different document and jump to a location in it, open an external file, or invoke the user event.
Note: The sample code fragments in the following topics assume that the "using C1.C1Preview" directive (in C# syntax; or an equivalent for other languages) has been inserted into the file, so that instead of fully qualified type names (such as C1.C1Preview.RenderText) we can use just the class name part (RenderText). |