TCustomTeePanel.CalcProportionalMargins
TCustomTeePanel
function CalcProportionalMargins: TRect;
Unit
TeeProcs
Description
The CalcProportionalMargins function returns the rectangle in printer pixels coordinates that define the left, top, right and bottom positions for the resulting printed Chart.
The default margins are defined by the TeeDefault_PrintMargin constant ( 15 % ).
This method is only called when the Chart PrintProportional property is True.
When PrintProportional is False, the PrintMargins property controls the size of each margin.
Note: At least a Printer should be installed on Windows and be the default printer.
See also:
PrintProportional property.
PrintMargins property.
PrintResolution property.