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 a table in the RTF destination, specify the style attribute RULES=NONE
along with BACKGROUND=_undef_. Use the style attribute FRAME=VOID within the style
element Table to remove the borders surrounding 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.
proc template;
define style styles.test;
parent=styles.rtf;
class Table /
background=_undef_
Rules=none
Frame=void;
class header , rowheader /
background=_undef_;
end;
run;
ods rtf body='noshading_nogridlines.rtf' style=styles.test;
ods noptitle;
proc freq data=sashelp.class;
title 'Remove gridlines and row/header shading from RTF tables';
run;
ods rtf close;
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 |