Print preview for two column printing
Posted: Tue Nov 15, 2005 8:52 am
Sergey,
This is what you wrote:
Print preview is also possible using this method.
Create a hidden TRichView with empty document (add one empty text string to it, otherwise TRVPrint will not print it). Create TRVPrint for printing this empty document. Create TRVPrintPreview displaying preview of this empty document. Draw the actual document in OnPagePrepaint event of this TRVPrint.
But I cannot get this to work. Is there a working example?
Thanks
Bruce
This is what you wrote:
Print preview is also possible using this method.
Create a hidden TRichView with empty document (add one empty text string to it, otherwise TRVPrint will not print it). Create TRVPrint for printing this empty document. Create TRVPrintPreview displaying preview of this empty document. Draw the actual document in OnPagePrepaint event of this TRVPrint.
But I cannot get this to work. Is there a working example?
Thanks
Bruce