There are two ways to set a page margin condition formula: by changing the formula in the print options of the report, or by directly changing the formula with the PrintOutputController class. These samples create a formula that checks whether a page number is even or odd and sets the margins accordingly: if the page is an even number, the margin is set to one inch; if the page is an odd number, the margin is set to two inches. The formula is applied to the left margin of the report.
|
|
|
Margin position is measured in twips. There are 1440 twips in an inch. |
© 2021 SAP AG. All rights reserved.
http://www.sap.com/sapbusinessobjects/
Support services
http://service.sap.com/bosap-support/
Created with the Personal Edition of HelpNDoc: Free EPub and documentation generator