11-18-2013 01:18 PM
I have a problem trying to remove the margins in ods PDF.
I designed this with SAS Graph but i cannot find the options to completly remove Margins. I want to use full screen and I cannot do it
I also attach the pdf file.
Can some one help me? Thx in advance!!
This is the graphic:
This is the pdf part of the code:
OPTIONS LEFTMARGIN=0in RIGHTMARGIN=0in TOPMARGIN=0in BOTTOMMARGIN=0in;
ODS LISTING CLOSE;
ODS pdf file="&ruta&name..pdf" startpage=no;
goptions xpixels=912 ypixels=647;
proc greplay nofs igout=work.gseg tc=tempcat;
tdef custom des='Dashboard'
1/ llx=0.55 lly=44.27
2/ llx=0.55 lly=79.26
3/ llx=0.55 lly=0.77
4/ llx=0.55 lly=35.76
5/ llx=59.21 lly=0.77
6/ llx=59.21 lly=79.26
7/ llx=0 lly=87.77
1:rank1 2:Titulo1 3:rank2 4:Titulo2 5:slope 6:Titulo3 7:Header
ods pdf close ;
ods listing ;
11-18-2013 03:31 PM
I don't have time to check but I'd recommend looking at the style template, probably the TABLE or BODY element has some padding/margin in it. Most of the default elements do have a small amount. You could try running it with TAGSETS.STYLE_POPUP and seeing if it reports that margin coming from a particular element.
11-19-2013 02:36 PM
I don't know how to use these options or what modify.
I search in google "TAGSETS STYLE" but I didn't find something that looks usefull for my problem.
11-19-2013 03:18 PM
What style are using?
You can specify the custom style in your ods pdf statement, eg.
ODS pdf file="&ruta&name..pdf" startpage=no style=minimal;
That style will have some padding for the boundaries. You can modify that by creating a custom style.
11-19-2013 03:26 PM
I wasn't using any style.
I tryied with style = minimal but it also has boundaries. I going to investigate how to create and use a custom Style with no boundaries...
11-19-2013 03:30 PM
Highly recommend http://support.sas.com/rnd/base/ods/scratch/tables-from-sc-paper.pdf for that purpose. Kevin Smith's explanations are very concise and to the point.
11-19-2013 04:04 PM
If you're in EG, there's a style editor that is point and click
Copy the style that want or are using and then modify the margins of 8px to 0px instead.