|
PDFDoc Scout library - Sample
Using HTML text formatting to draw text
with links, styles, fonts, images, tables in PDF document
using PDFDoc Scout library:
You can download the source code of this example here: pdfdocscout_using_html_formatting.zip This example provides a sample code to illustrate how to use HTML text formatting in PDF document created with PDFDoc Scout library See also: using HTML formatting to draw tables Screenshot of generated PDF document with HTML text formatting:
Source code of example (using_html_formatting.vbs,
loading HTML code from string): PDFDoc.BeginDocument PDFDoc.Page.AddHTMLBox "<b>This</b> <i>is</i> test of HTML <font size='+3'>formatting</font><br><a href='http://bytescout.com/'>Testing links - www.bytescout.com (click)<a/><br/><img src='sample.png'>", 20,80, 300, 300, false PDFDoc.EndDocument ' close PDF document generation ' disconnect from library Source code of example (AddHTMLBoxFromFileName.vbs,
loading HTML code from file): PDFDoc.BeginDocument PDFDoc.Page.AddHTMLBoxFromFileName "test.html", 20,80, 300, 300, false PDFDoc.EndDocument ' close PDF document generation ' disconnect from library You can download the source code of this example here: pdfdocscout_using_html_formatting.zip
"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. |
|