DATA Step, Macro, Functions and more

ODS RTF: incomplete title in rtf

Reply
Super Contributor
Posts: 312

ODS RTF: incomplete title in rtf

[ Edited ]

I used the option below to control the size of the chart in the RTF file, but in the RTF file the title is not complete. In the SAS results wondow, however, the title is complete.

 

ods graphics on / 
      width=3.25in border=off;

 

This is the image in the RTF file:

Capture1.JPG

 

This is from the SAS results window:

 

Capture1.JPG

Super User
Posts: 10,516

Re: ODS RTF: incomplete title in rtf

You show no details on how the graph was created so here are some guesses:

The default sytle for ODS RTF is different than for the ODS HTML shown in the Results. The title font can be quite a bit larger and does not fit into the space availbe for the title in the method you used to create the graph. Try specifying the same ODS STYLE used by your results window with the ODS RTF statement.

 

Options specified on the Title overflow the allowed space for the title;

 

 

SAS Super FREQ
Posts: 8,743

Re: ODS RTF: incomplete title in rtf

And, in addition to BallardW's comments, the options in HTML and RTF might be different, as far as the GTITLE, NOGTITLE option which tells ODS whether the title is under the control of the graphics image (and thus, inside the image) or is under the control of the the ODS destination (and thus, sitting outside of the image).
http://support.sas.com/documentation/cdl/en/odsug/67921/HTML/default/viewer.htm#p1vvsv8ucnjzjnn1wq5w...

cynthia
Super Contributor
Posts: 312

Re: ODS RTF: incomplete title in rtf

Thank you for both replies.

I ended up with ODS PDF for a fast solution. I will look into the real solution in RTF

 

Super User
Posts: 10,516

Re: ODS RTF: incomplete title in rtf

If ODS PDF solves the problem it may well be the active style as the PDF style default is different from both HTML and RTF.

Ask a Question
Discussion stats
  • 4 replies
  • 256 views
  • 0 likes
  • 3 in conversation