One of the arguments to TPrintPreview.PaintRichText is a PInteger (pointer to integer).
Why a pointer and not just pass as a var? With overloading, you could have a version of the method that did not have that argument, and would pass its own (dummy) integer to the main method.
Cheers