DefaultMargin
Posted: Wed Sep 03, 2025 9:00 pm
Sergey,
I am trying to set a different left margin in a regular rve. I have to have a controlpanel for other things, but the defaultmargin is stomping all over my leftmargin setting. I've tried all this and nothing works, all I get is whatever the defaultmargin is set to:
I don't want to load document settings that would change the margin (at least, I don't think I'm loading any). Is there any way to override the leftmargin size setting with a control panel in use?
Thanks
Stan
I am trying to set a different left margin in a regular rve. I have to have a controlpanel for other things, but the defaultmargin is stomping all over my leftmargin setting. I've tried all this and nothing works, all I get is whatever the defaultmargin is set to:
Code: Select all
rveControlPanel.DefaultMargin := 40;
rve.SetIntProperty(rvipLeftMargin,85);
rve.DocParameters.LeftMargin := 85;
rve.LeftMargin := 85;
rve.TopMargin := 40;
rve.RightMargin := 40;
//rve.BottomMargin := 40;
rve.Reformat;
Thanks
Stan