|
Bytescout.PDF library for .NET
- setting different page sizes for pages in PDF document
Using different sizes for pages in PDF document
This example demonstrates how to use different page sizes in PDF file made with Bytescout.PDF library
using System; namespace HelloWorld // Add new document // font size constant //Add standart font // X position of the text to draw // Add standart page sizes //Create new drawing // Set Active Font // Draw Text // Close drawing // Append new custom size page to the document //Create new drawing // Set Active Font // Draw Text // Close drawing // Save document // open generated PDF document in default PDF viewer installed
in Windows Download example source code: bytescoutpdf_page_size.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. |
|