How set margins from delphi code?
Without dialog,
TWPRichText1.Header.PageHeight,
PageMarginLeft etc.