<< Click to display table of contents >> TSclRVRuler.SetPageProperties |
The procedure changes margins and page size. The changed properties depend on the ruler type (horizontal/vertical).
procedure SetPageProperties(Units: TRulerUnits;
AMargin1, AMargin2, APageWidth: Extended);
Units – type of units: centimeters, millimeters, pixels etc. Other parameters are measured in these units.
AMargin1 – left margin (LeftMargin) for horizontal ruler, or top margin (TopMargin) for vertical ruler.
AMargin2 – right margin (RightMargin) for horizontal ruler, bottom margin (BottonMargin) for vertical ruler.
APageWidth – page width (PageWidth) for horizontal ruler, page height (PageHeight) for vertical ruler.