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 TCustomTeePanel.PrintProportional property is True.
When TCustomTeePanel.PrintProportional is False, the TCustomTeePanel.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:
TCustomTeePanel.PrintProportional property.
TCustomTeePanel.PrintMargins property.
TCustomTeePanel.PrintResolution property.