TSRichViewEdit.SetMarginMM

<< Click to display table of contents >>

TSRichViewEdit.SetMarginMM

Assigns margins.

procedure SetMarginMM(MarginLeftMM, MarginTopMM, MarginRightMM,

  MarginBottomMM : Extended);

MarginLeftMM, MarginTopMM, MarginRightMM, MarginBottomMM are new values of margins, measured in millimeters.

Before assigning, OnMarginsChanged occurs.

Only parameters <> -1 are assigned.

This method changes:

PageProperty's LeftMargin, TopMargin, RightMargin, BottomMargin

LeftMarginPix, TopMarginPix, RightMarginPix, BottomMarginPix

See also:

SetMargin

SetMarginUnit

SetRVMargins