|
Bytescout.PDF library for .NET
- how to create a hyperlink URL to web-site in PDF
How to set URL to text area to create
a link to open web-site when user clicks the link
This example teaches how to add text and
mark this text as hyperlink to www.live.com web-site in
PDF document generated by Bytescout.PDF library using System; namespace HelloWorld // Add new document // Append new page to the document // Create new drawing // Add standard font // font size constant // Set Active Font // get text width // Draw Text // Closing drawing on the page // create a rectangle holding information about link position // set new link to the given rectanlge assigning an action
opening external PDF // Save document // open generated PDF document in default PDF viewer installed
in Windows Download example source code: bytescoutpdf_create_url_link_in_pdf.zip (5 KB)
"Hello, World!" quick start step-by-step tutorials: |
|
|
Copyright © ByteScout, 2003-2010. Privacy Statement
Microsoft®, Windows®, Windows 2000®, Windows Server®, Windows Vista®, Internet Explorer®, .NET Framework®, ActiveX®, Visual Basic®, Visual C#®, ASP®, ASP.NET®, Excel®, PowerPoint®, are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Adobe®, Flash® and Acrobat® are registered trademarks of Adobe Systems, Incorporated. Mozilla®, Firefox® and the Mozilla and Firefox Logos are registered trademarks of the Mozilla Foundation. Other product names or brandnames used herein are for identification purposes only and might be trademarks or registered trademarks of their respective companies. We disclaim any and all rights to those marks. |
|