Hi,
I have a sample program:
%let path=c:\users\bconner\;
ods escapechar='^'; options orientation=landscape;
dm 'clear log'; ods PDF file="&path.test.pdf" notoc; ods layout absolute y=.25in x=.25in width=10.5in height=8in;
ods region y=.32in x=8.125in width=2in height=.8125in style={background=green}; ods text = "^{style[background=lightgreen]Line 1}";
ods region y=2.025in x=.1in width=5in height=.25in style={background=blue}; ods text = "Line 2";
ods layout end; ods pdf close;
That generates the following log:
7162 options orientation=landscape; 7163 7164 dm 'clear log'; 7165 ods PDF file="&path.test.pdf" notoc; SYMBOLGEN: Macro variable PATH resolves to c:\users\bconner\ NOTE: Writing ODS PDF output to DISK destination "c:\users\bconner\test.pdf", printer "PDF". 7166 ods layout absolute y=.25in x=.25in width=10.5in height=8in; 7167 7168 7169 ods region y=.32in x=8.125in width=2in height=.8125in style={background=green}; 7170 ods text = "^{style[background=lightgreen]Line 1}"; 7171 7172 ods region y=2.025in x=.1in width=5in height=.25in style={background=blue}; WARNING: WIDTH exceeds LAYOUT WIDTH for PDF destination. This option will be ignored. 7173 7174 ods text = "Line 2"; 7175 7176 ods layout end; 7177 ods pdf close; NOTE: ODS PDF printed 1 page to c:\users\bconner\test.pdf.
I can't see why the warning gets generated. The layout width is 10". The region starts at .1" and goes for 5", ending at 5.1". ??
Thanks!
--Ben
... View more