NicePreview v1.00
© 2003 - 2007, Priyatna
Bandung - Indonesia

http://www.priyatna.org/
mailto:me@priyatna.org

Introduction
License
Installation
Methods

Properties
Contacts

Version: 1.00
Release Date: April 11st, 2003

 


Introduction

NicePreview is a Delphi component that aimed to be an easy-to-use print preview control. This is a shortcut to add a sophisticated print preview and off course printing feature to your application, bypassing a nitty-gritty screen-printer dpi (dot per inch) issue. All you have to do is dropping the component and write some routines to paint on it like an ordinary screen canvas (96 dpi by default). Yes, it uses screen dpi, not printer's. So you don't have to worry about converting them to different dpi of printer. All in pixel coordinate.

NicePreview will not be notified when printer configurations change. So you have to call ReadPrinterConfig method after executing TPrinterSetupDialog or TPrintDialog, and redraw all pages to reflect the changes. Seems complicated, but trust me, it's not difficult. See demo project included.

 


License

This library is released under Mozilla Public License. You can use it in your freeware, shareware or commercial softwares. You can send your modification to me, and if I decide to include it in the main distribution, I will add your name as a contributor. You can read full licensing information here.

 


Installation

There is no special process to install it on Delphi. Just open NicePreviewD7.dpk on Delphi IDE and press Install button. I use Delphi 7. If you use another Delphi version, you may have to make some minor changes.

The component will appear in priyatna.org tab.

 


Methods

There are some main methods of the component:

 


Properties

There are some main properties of the component:

 


Contacts

Don't hesitate to report any bug or whish to me:

Priyatna
Bandung - Indonesia

http://www.priyatna.org/
mailto:me@priyatna.org