<< Click to display table of contents >> TSRichViewEdit.SetMargin |
Assigns margins.
procedure SetMargin(MarginLeft, MarginTop, MarginRight,
MarginBottom: Integer);
MarginLeft, MarginTop, MarginRight, MarginBottom are new values of margins, measured in pixels.
Before assigning, OnMarginsChanged occurs.
Only parameters <> -1 are assigned.
This method changes:
•PageProperty's LeftMargin, TopMargin, RightMargin, BottomMargin
•LeftMarginPix, TopMarginPix, RightMarginPix, BottomMarginPix
See also: