Save document with margins
Save document with margins
Hi, Sergey.
How can i save document with margins, that are set by TRVRuler?
Thanks.
How can i save document with margins, that are set by TRVRuler?
Thanks.
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Sorry for inexact question, i mean in RTF format.
I tried to include RVFOptions.rvfoSaveDocPropetries, RVFOptions.rvfoLoadDocPropetries and RTFOptions.rvrtfSaveDocParameters, and changed margins in DocParamters, but it has no effect. I set DocParameters margins equal to RVRuler margins, but document wasn't saved correct. Top and left margins got no changes (as it set in RichView to 1 and 1.25 inches by default), and right and bottom were set to 0.
I tried to include RVFOptions.rvfoSaveDocPropetries, RVFOptions.rvfoLoadDocPropetries and RTFOptions.rvrtfSaveDocParameters, and changed margins in DocParamters, but it has no effect. I set DocParameters margins equal to RVRuler margins, but document wasn't saved correct. Top and left margins got no changes (as it set in RichView to 1 and 1.25 inches by default), and right and bottom were set to 0.
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
I tried to set it in different ways:
1. I set DocParameters.Units to rvuPixels, because i used ruPixels for RVRuler.UnitsProgram.
2. I set DocParameters.Units to rvuPixels and then convert to rvuInches using DocParameters.ConvertToUnits.
3. I set both DocParameters.Units and RVRuler.UnitsProgram to rvuInches.
But in all cases result was as i wrote before - top and left margins got no changes, and right and bottom were set to 0.
1. I set DocParameters.Units to rvuPixels, because i used ruPixels for RVRuler.UnitsProgram.
2. I set DocParameters.Units to rvuPixels and then convert to rvuInches using DocParameters.ConvertToUnits.
3. I set both DocParameters.Units and RVRuler.UnitsProgram to rvuInches.
But in all cases result was as i wrote before - top and left margins got no changes, and right and bottom were set to 0.
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: