<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Text background is white and not the background color specified in an ODS region in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Text-background-is-white-and-not-the-background-color-specified/m-p/528548#M22217</link>
    <description>Suzanne,&lt;BR /&gt;Thank you! However, if I have another box with a slightly different color, how I would I handle that?&lt;BR /&gt;Aroop</description>
    <pubDate>Sat, 19 Jan 2019 17:58:28 GMT</pubDate>
    <dc:creator>ghosh</dc:creator>
    <dc:date>2019-01-19T17:58:28Z</dc:date>
    <item>
      <title>Text background is white and not the background color specified in an ODS region</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Text-background-is-white-and-not-the-background-color-specified/m-p/528496#M22215</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Capture.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26373i0F1FCC6E9E3E76E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am stumped trying to display text in an ODS layout region in a shaded area.&lt;BR /&gt;The problem is the text is displaying on a white background rather than on the color specified as the background color&lt;BR /&gt;as shown in the attached picture.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods _all_ close;
options nonumber nodate orientation=landscape papersize=tabloid nocenter
	leftmargin=2cm rightmargin=2cm topmargin=1cm bottommargin=1.5cm;

ods escapechar='^';
ods pdf file="fname.pdf" dpi=300 notoc;

/*absolute*/
ods layout start  
  style={bordercolor=black borderstyle=solid borderwidth=.5pt};

ods region  x=0.0cm y=0.0cm height=0.5cm width=25cm
	 style={bordercolor=black borderstyle=solid borderwidth=.5pt background=BWH});

ods pdf text="^S={just=c vjust=c height=10pt}Highlights";&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The destination is PDF, I am using SAS 9.4_M3&lt;/P&gt;&lt;P&gt;Any suggestions how I can fix this problem? The relevant parts of the code is below.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 19 Jan 2019 03:16:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Text-background-is-white-and-not-the-background-color-specified/m-p/528496#M22215</guid>
      <dc:creator>ghosh</dc:creator>
      <dc:date>2019-01-19T03:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Text background is white and not the background color specified in an ODS region</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Text-background-is-white-and-not-the-background-color-specified/m-p/528544#M22216</link>
      <description>&lt;P&gt;The PDF destination uses the Pearl style by default.&amp;nbsp; The background color is white by default, so you need to specify the color you want.&amp;nbsp; Add BACKGROUND=BWH to the style portion of the ODS PDF TEXT statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods _all_ close;

options nonumber nodate orientation=landscape papersize=tabloid nocenter
	leftmargin=2cm rightmargin=2cm topmargin=1cm bottommargin=1.5cm;

ods escapechar='^';

ods pdf file="/folders/myfolders/ODS PDF/fname.pdf" dpi=300 notoc;

/*absolute*/
ods layout start  
  style={bordercolor=black borderstyle=solid borderwidth=.5pt};

ods region  x=0.0cm y=0.0cm height=0.5cm width=25cm
	 style={bordercolor=black borderstyle=solid borderwidth=.5pt background=BWH};

ods pdf text="^S={just=c vjust=c height=10pt background=bwh}Highlights";

ods layout end;

ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Specify background color in ODS PDF TEXT statement to match color of ODS REGION" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26376i356D519BF30092F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="ODS PDF text background color to match region color.jpg" alt="Specify background color in ODS PDF TEXT statement to match color of ODS REGION" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Specify background color in ODS PDF TEXT statement to match color of ODS REGION&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Jan 2019 17:41:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Text-background-is-white-and-not-the-background-color-specified/m-p/528544#M22216</guid>
      <dc:creator>SuzanneDorinski</dc:creator>
      <dc:date>2019-01-19T17:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Text background is white and not the background color specified in an ODS region</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Text-background-is-white-and-not-the-background-color-specified/m-p/528548#M22217</link>
      <description>Suzanne,&lt;BR /&gt;Thank you! However, if I have another box with a slightly different color, how I would I handle that?&lt;BR /&gt;Aroop</description>
      <pubDate>Sat, 19 Jan 2019 17:58:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Text-background-is-white-and-not-the-background-color-specified/m-p/528548#M22217</guid>
      <dc:creator>ghosh</dc:creator>
      <dc:date>2019-01-19T17:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Text background is white and not the background color specified in an ODS region</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Text-background-is-white-and-not-the-background-color-specified/m-p/528550#M22218</link>
      <description>&lt;P&gt;Use the slightly different color of the other box.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Jan 2019 18:06:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Text-background-is-white-and-not-the-background-color-specified/m-p/528550#M22218</guid>
      <dc:creator>SuzanneDorinski</dc:creator>
      <dc:date>2019-01-19T18:06:06Z</dc:date>
    </item>
  </channel>
</rss>

