Usage Note 24033: How can I set the margins for the ODS RTF destination?
You can set the margins of the RTF file by using PROC TEMPLATE
and specifying the LEFTMARGIN=, RIGHTMARGIN=, TOPMARGIN=, and BOTTOMMARGIN= attributes.
By default, the margins are .25in on all sides.
proc template;
define style styles.test;
parent=styles.rtf;
style body from document /
leftmargin=2.5in
rightmargin=2.5in
topmargin=2.5in
bottommargin=2.5in;
end;
run;
The style is then applied to the RTF file FILE.RTF here:
ods rtf file="file.rtf" style=styles.test;
See more information about
PROC TEMPLATE and the RTF destination.
Operating System and Release Information
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Usage Note |
Priority: | low |
Topic: | SAS Reference ==> ODS (Output Delivery System) Third Party ==> Output ==> RTF
|
Date Modified: | 2004-06-29 17:40:18 |
Date Created: | 2004-06-25 16:54:39 |