BookmarkSubscribeRSS Feed
ToddPM
Calcite | Level 5
Does anyone have any insight as to why the underlining that should appear under the text appears in different locations based on the height of the region it is in?

[pre]
OPTIONS NODATE NONUMBER ORIENTATION=portrait PAPERSIZE=letter;

ODS LISTING CLOSE;

ODS ESCAPECHAR='^';

ODS PDF FILE="underline.pdf" NOTOC;

ODS LAYOUT START x=0 pct y=0 pct width=100 pct height=100 pct;
PROC GSLIDE;
RUN;
QUIT;

ODS REGION x=0 in y=0 in width=5 in height=1 in;
ODS PDF TEXT="^{style [TEXTDECORATION=underline]This underlined line of text is in a region that is 0 inches down and is 1 inch high.}";

ODS REGION x=0 in y=1 in width=1.5 in height=1 in;
ODS PDF TEXT="^{style [TEXTDECORATION=underline]1 in. down, 1 in. high}";

ODS REGION x=1.5 in y=1 in width=1.5 in height=2 in;
ODS PDF TEXT="^{style [TEXTDECORATION=underline]1 in. down, 2 in. high}";

ODS REGION x=3 in y=3 in width=1.5 in height=1 in;
ODS PDF TEXT="^{style [TEXTDECORATION=underline]3 in. down, 1 in. high}";

ODS REGION x=4.5 in y=3 in width=1.5 in height=3 in;
ODS PDF TEXT="^{style [TEXTDECORATION=underline]3 in. down, 2 in. high}";

ODS REGION x=6 in y=3 in width=1.5 in height=4 in;
ODS PDF TEXT="^{style [TEXTDECORATION=underline]3 in. down, 4 in. high}";

ODS LAYOUT END;

ODS _ALL_ CLOSE;
ODS LISTING;
[/pre]
2 REPLIES 2
Cynthia_sas
SAS Super FREQ
Hi:
ODS LAYOUT is still "pre-production", so you might want to check with Tech Support. I'm not exactly sure how text_decoration and ODS TEXT= work in the context of ODS LAYOUT and ODS REGION.

Since ODS LAYOUT is still "pre-production" if you open a track with Tech Support, they will be able to ask the ODS LAYOUT developers how/why and how to fix types of questions.

cynthia
ToddPM
Calcite | Level 5
FYI to anyone else grappling with this: don't knock yourself out trying to get it to work correctly; I've had it confirmed from SAS tech support that this is a defect.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 1022 views
  • 0 likes
  • 2 in conversation