|
Bytescout.PDF library for .NET
- drawing lines in PDF document
Drawing a line in PDF document
This example demonstrates how to draw a line using Drawing class in Bytescout.PDF library
using System; namespace HelloWorld // Add new document // Append new page to the document // Create new drawing // Line width // Set Line Width // Set lines join style // Draw from point with coordinate (100, 100)... // Stroke lines // Create new path // Create blue fill colot // Sets current path as a clipping boundaries for the
first filling the // Closing drawing on the page // Save document
Download example source code: bytescoutpdf_lines.zip (10 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. |
|