TSRichViewEdit.SetMarginUnit

<< Click to display table of contents >>

TSRichViewEdit.SetMarginUnit

Assigns margins.

procedure SetMarginUnit(MarginLeft, MarginTop, MarginRight,

  MarginBottom: TRVLength);

MarginLeft, MarginTop, MarginRight, MarginBottom are new values of margins, measured in UnitsProgram.

Before assigning, OnMarginsChanged occurs.

Only parameters <> -1 are assigned.

This method changes:

PageProperty's LeftMargin, TopMargin, RightMargin, BottomMargin

LeftMarginPix, TopMarginPix, RightMarginPix, BottomMarginPix

See also:

SetMarginMM

SetMargin

SetRVMargins