TTeePreviewPanel.OnGetPaperRect
 
 
 

All Units  All Classes  Properties, Methods and Events  

TTeePreviewPanel.OnGetPaperRect
TTeePreviewPanel

property OnGetPaperRect: TOnGetPaperRect;

Unit
TeePreviewPanel

Description
This event is called each time the preview panel displays.

The rectangle parameter specifies the automatically calculated rectangle that best fits the current selected printer.

You can set this rectangle to your custom values using the preview panel Width and Height values.

The rectangle is expressed in pixels, with 0,0 being the origin.





Send us Help Feedback. Copyright 1995-2013 © by Steema Software. All Rights Reserved.