Usage Note 24021: In ODS RTF, how can I change the background color of the column headers?
The background colors of the headers can be changed by modifying the argument
associated with the string 'bgH', as shown below.
The default value for this string is 'graybb'. This
could also be done by modifying the style element Header, which is responsible for
rendering the header. View output.
proc template;
define style styles.newrtf;
parent=styles.RTF;
replace color_list
"Colors used in the default style" /
'link'= blue
/* 'bgH'= graybb */
'bgH'= white
'fg' = black
'bg' = white;
end;
run;
ods rtf body='temp.rtf' style=styles.newrtf;
proc freq data=sashelp.class;
title 'changing the header background to white';
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: | 2004-06-29 16:21:04 |
| Date Created: | 2004-06-25 11:38:36 |