首页 > 其他 > 详细

PDF File Writer C# Class Library (Version 1.4)

时间:2014-04-17 10:37:02      阅读:512      评论:0      收藏:0      [点我收藏+]

1. Introduction

The PDF File Writer C# class library PdfFileWriter allows you to create PDF files directly from your .net application. The library shields you from the details of the PDF file structure. To use the library you need to: add a reference to the attached PdfFileWriter.dll class library, add a using PdfFileWriter statement in every source file that is using the library and include the PdfFileWriter.dll with your distribution. The PdfFileWriter.dll is only 90 KB long. Considering the small size of the library, you can include the source code of all the classes with your application and avoid the need to distribute a separate data link library file.

Version 1.4 includes two significant changes. Improved support for font substitution, please note Section 2.3. And improved support for including image files, please note Section 2.4.

Creating a PDF is a six steps process.

  • Step 1: Create one document object PdfDocument.
  • Step 2: Create resource objects such as fonts or images (i.e. PdfFont or PdfImag).
  • Step 3: Create page object PdfPage.
  • Step 4: Create contents object PdfContents.
  • Step 5: Add text and graphics to the contents object (using PdfContents methods).
  • Repeat steps 3, 4 and 5 for additional pages

PDF File Writer C# Class Library (Version 1.4),布布扣,bubuko.com

PDF File Writer C# Class Library (Version 1.4)

原文:http://www.cnblogs.com/jzzgci/p/3669894.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!