PDF Report Generator 提供一個簡單的方式來在你的程序中創(chuàng)建 PDF 報告。
PDF Report Generator offers a simple and hassle free method of producing PDF reports within your application.
你將用兩個簡單的步驟生成一個報告。
步是創(chuàng)建一個報告對象。這包括使用一個小的 API 函數(shù)集來插入文本、表格和圖片到報告中。你可以像在一個字處理軟件中一樣使用字體和顏色來格式化文本和表格元素。
第二步是傳遞該報告對象到一個 PDF 生成器對象。PDF 生成器自動格式化你的報告為多頁,之后生成 PDF。生成的 PDF 可以存盤,或者返回一個字符串,從而在一個 ASP.NET 程序中使用。
PDF Report Generator 支持下列特性:
- 字體、字號、各種字符風(fēng)格和顏色。
- 段落格式化特性,例如居中、縮排等。
- 表格和嵌套表格。
- 可重復(fù)的頁眉和頁腳。
- 生成的 PDF 文檔中的超鏈接(內(nèi)部或外部)。
- 安全許可和密碼保護(hù)。
- 設(shè)置 PDF 輸出的紙張大小、方向和頁邊距。
- 嵌入字符。
- Unicode 支持。
- 從右到左和混合/拉丁文本。
- 支持 BMP、PNG、JPEG、WMF 和 EMP 圖片格式。
You would use two simple steps to generate a report.
The first step is to create a report object. This involves coding your report using a small set of API functions to insert text, tables, and pictures into the report. You can format the text and table elements using fonts and colors just as would do in a word-processor.
The second step is to pass the report object to a PDF generator object. The PDF generator automatically formats your report into a number of pages and generates the PDF. The resulting PDF can be saved to a disk file, or it can be retrieved in a string to use in an ASP.NET application.
PDF Report Generator supports the following features:
- Fonts, point-size, various character styles and colors.
- Paragraph formatting features such as centering, justification, indentation, etc.
- Tables and nested tables.
- Repeatable page header and footers.
- Hyperlinks (internal and external) in the generated PDF document.
- Security permissions and password protection.
- Set paper size, orientation and margins for PDF output.
- Embedded fonts.
- Unicode support.
- Right-to-left and mix/latin text.
- Support for BMP, PNG, JPEG, WMF, and EMF picture formats.