Usage Note 24029: In ODS RTF, how can I remove all of the grid lines and all of the shading?
To remove the grid lines from within the table, specify the attribute RULES=NONE
along with BACKGROUND=_UNDEF_. Issue FRAME=VOID within the style
element Table in order to remove the borders from around the table.
To remove the shading from the column headers and row headers,
add the BACKGROUND=_UNDEF_ attribute in the style elements Header and Rowheader,
respectively. View output.
proc template;
define style styles.test;
parent=styles.rtf;
style Table from output /
background=_undef_
Rules=none
Frame=void;
style header from header /
background=_undef_;
style rowheader from rowheader /
background=_undef_;
end;
run;
ods rtf body='rtf2b.rtf' style=styles.test;
proc freq data=sashelp.class;
title 'removing grids and the shading';
run;
ods rtf close;
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: | 2009-05-06 16:00:56 |
| Date Created: | 2004-06-25 16:19:40 |