Powerpdf Reference: Veision 0.8 (Beta)
Powerpdf Reference: Veision 0.8 (Beta)
Veision 0.8(beta)
Contents
Chapter 1: Introduction
1.1 What Is PowerPdf
1.2 Requires
1.3 Installation
Chapter 2: Component Reference
2.1 TPReport
2.1.1 TPReport properties
2.1.2 TPReport methods
2.2 TPRPage
2.2.1 TPRPage properties
2.2.2 TPRPage events
2.3 TPRLayoutPanel
2.3.1 TPRLayoutPanel properties
2.3.2 TPRLayoutPanel events
2.4 TPRGridPanel
2.4.1 TPRGridPanel properties
2.4.2 TPRGridPanel events
2.5 TPRText
2.5.1 TPRText properties
2.6 TPRImage
2.6.1 TPRImage properties
2.7 TPRRect
2.7.1 TPRRect properties
CHAPTER 1
Introduction
1.2 Requires
Delphi3.0 or later.
1.3 Installation
1.Extracts the files from powerpdf.zip.
2.Choose Component|Install Component, and install PReport.pas.
NOTE
If you want to use FlateDecode/Zlib compression, copy zlib.pas and *.obj files (these are
included in Delphi's CD-ROM) to your librally path.
CHAPTER 2
Component Reference
2.1 TPReport
TPReport encapsulates the mechanism for creating pdf document.
Unit
PReport
Description
Use TPReport to create pdf document. Like TPrinter. To start print job, call the BeginDoc
method.To print page, call the Print method. And call the EndDoc method to terminate
print job.If you want to terminate print job unless saving document, call the Abort method.
2.2 TPRPage
TPRPage represents a page to print.
Unit
PReport
Description
Use TPRPage to create a page to print. To create a page, To print a page, call print method
of TPReport with TPRPage object.
Use Width and Height property to determine the physical size of the page.
2.3 TPRLayoutPanel
TPRLayoutPanel is main building block of a page.
Unit
PReport
Description
To make a page, put TPRPanel on the TPRPage component and put Item component
(TPRItem, TPRImage and so on) on the TPRPanel.
2.4 TPRGridPanel
TPRGridPanel is used to print a table.
Unit
PReport
Description
A typical use of TPRGrid is to print a table(like a database data). set RowCount and
ColCount property to define row count and column count.
2.5 TPRText
TPRText is used to print a test.
Unit
PReport
Description
A typical use of TPRGrid is to print a table(like a database data). set RowCount and
ColCount property to define row count and column count.
Arial
ABCDEFGabcdefg12345
TimesRoman
ABCDEFGabcdefg12345
FixedWidth
ABCDEFGabcdefg12345
property FontSize: Single;
Specifies the height of the font in points.
property FontBold: boolean;
Specifies whether the font is boldfaced or not.
2.6 TPRImage
TPRGridPanel is uses to print a table.
Unit
PReport
Description
A typical use of TPRGrid is to print a table(like a database data). set RowCount and
ColCount property to define row count and column count.
2.7 TPRRect
TPRRect is used to draw rectangles and lines on a report.
Unit
PReport
psSolid
psDash
psDashDot
psDashDotDot
psDot
psClear(Invisible)
Copyright
Copyright (C) 1999-2001 Takeshi Kanno
This library is free software; you can redistribute it and/or modify it under the
terms of the GNU Library General Public License as published by the Free
Software Foundation; either version 2 of the License, or any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library general Public
License for more details.