<?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: How to set size graph export to PPT by JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-set-size-graph-export-to-PPT-by-JSL/m-p/173957#M40146</link>
    <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14109"&gt;@Jet00&lt;/a&gt;&amp;nbsp;I have been able to change sizes by setting a framebox size.&amp;nbsp; Try the script below, and determine if the sizes are changing for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This question has been asked several times. You might want to reference this earlier blog&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="https://community.jmp.com/t5/Discussions/the-graph-size-exported-to-pptx-Save-Presentation/m-p/72135" target="_self"&gt;https://community.jmp.com/t5/Discussions/the-graph-size-exported-to-pptx-Save-Presentation/m-p/72135&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

New Window( "Box Plot Seg Example",
	g = Graph Box( Frame Size( 451, 451 ) )
);
g[FrameBox( 1 )] &amp;lt;&amp;lt; Add Image(Open(Convert File Path("$SAMPLE_IMAGES/tile.jpg")),
	Bounds(Left(0), Right(100), Top(100), Bottom(0)),
	SetSize({100,100})
);

g[AxisBox( 2 )] &amp;lt;&amp;lt; delete;
g[AxisBox( 1 )] &amp;lt;&amp;lt; delete;
g[FrameBox(1)] &amp;lt;&amp;lt; Framesize(450,450);
g &amp;lt;&amp;lt; Save Presentation( "$TEMP/jmp_example.pptx" );

g[FrameBox(1)] &amp;lt;&amp;lt; Framesize(150,150);
g&amp;lt;&amp;lt; Save Presentation( "$TEMP/jmp_example.pptx",append );

g[FrameBox(1)] &amp;lt;&amp;lt; Framesize(75,75);
g&amp;lt;&amp;lt; Save Presentation( "$TEMP/jmp_example.pptx",append );


g[FrameBox(1)] &amp;lt;&amp;lt; Framesize(25,25);
g&amp;lt;&amp;lt; Save Presentation( "$TEMP/jmp_example.pptx",append );


Open( "$TEMP/jmp_example.pptx" );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The earlier blog clearly states my (and my co-author's opinion) that PowerPoint scaling is a mystery.&amp;nbsp; The earlier blog references a script written for our book. My best known strictly JMP method is to create a display box scaled to your powerpoint page size, and save pictures and reports to the scale you need (maybe just one little corner of the pagesized display) then use save presentation. That allows you to save multiple graphs on a single page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/15826i0B06392AD2FA4B1D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I did not attach the script referenced in the link above, since the script builds on a complex example, and is too complex for this blog. The example creates a custom title and counts pages and saves 8 regression reports per page. But it uses our recommended method of:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create a window that is a journal&amp;nbsp; New Window("name", &amp;lt;&amp;lt; Journal);&lt;/LI&gt;
&lt;LI&gt;For each page, append all planned objects in a properly scaled window&lt;/LI&gt;
&lt;LI&gt;Get Picture for that window&lt;/LI&gt;
&lt;LI&gt;Journal, that picture.&lt;/LI&gt;
&lt;LI&gt;Then use Save presentation for that journal.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;There is a little more to it, but that is the gist.&lt;/P&gt;
&lt;P&gt;Hope the script above helps you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Feb 2019 12:57:03 GMT</pubDate>
    <dc:creator>gzmorgan0</dc:creator>
    <dc:date>2019-02-26T12:57:03Z</dc:date>
    <item>
      <title>How to set size graph export to PPT by JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-size-graph-export-to-PPT-by-JSL/m-p/173248#M40137</link>
      <description>&lt;P&gt;Hello, I am a beginer of jsl . I have one question about set picture size and save to PPT from example jsl script below. ( currently I use 'Save presentation' command to export charts or pictures to powerpoint but I'm struggling with how to manage picture size in powerpoint by JSL )&lt;/P&gt;&lt;P&gt;Not sure Is there anyway to adjust picture size in ppt file using JSL or not?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

originalImg = New Image( "$SAMPLE_IMAGES/tile.jpg" );

img = New Image( "$SAMPLE_IMAGES/tile.jpg" );

imgSize = 800;

img &amp;lt;&amp;lt; Set Size( {imgSize, imgSize} );

GG=New Window( "Test",

V List Box(
pb = Picture Box( img )

)

);



GG &amp;lt;&amp;lt; Save Presentation( "$TEMP/jmp_example.pptx" );
Open( "$TEMP/jmp_example.pptx" );



imgSize = 100;

img &amp;lt;&amp;lt; Set Size( {imgSize, imgSize} );

GG=New Window( "Test",

V List Box(
pb = Picture Box( img )

)

);



GG &amp;lt;&amp;lt; Save Presentation( "$TEMP/jmp_example.pptx",append );
Open( "$TEMP/jmp_example.pptx" );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-02-26 15_28_54-jmp_example - PowerPoint.jpg" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/15823i172035BB56294057/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-02-26 15_28_54-jmp_example - PowerPoint.jpg" alt="2019-02-26 15_28_54-jmp_example - PowerPoint.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 08:38:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-size-graph-export-to-PPT-by-JSL/m-p/173248#M40137</guid>
      <dc:creator>Jet00</dc:creator>
      <dc:date>2019-02-26T08:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to set size graph export to PPT by JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-size-graph-export-to-PPT-by-JSL/m-p/173957#M40146</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14109"&gt;@Jet00&lt;/a&gt;&amp;nbsp;I have been able to change sizes by setting a framebox size.&amp;nbsp; Try the script below, and determine if the sizes are changing for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This question has been asked several times. You might want to reference this earlier blog&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="https://community.jmp.com/t5/Discussions/the-graph-size-exported-to-pptx-Save-Presentation/m-p/72135" target="_self"&gt;https://community.jmp.com/t5/Discussions/the-graph-size-exported-to-pptx-Save-Presentation/m-p/72135&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

New Window( "Box Plot Seg Example",
	g = Graph Box( Frame Size( 451, 451 ) )
);
g[FrameBox( 1 )] &amp;lt;&amp;lt; Add Image(Open(Convert File Path("$SAMPLE_IMAGES/tile.jpg")),
	Bounds(Left(0), Right(100), Top(100), Bottom(0)),
	SetSize({100,100})
);

g[AxisBox( 2 )] &amp;lt;&amp;lt; delete;
g[AxisBox( 1 )] &amp;lt;&amp;lt; delete;
g[FrameBox(1)] &amp;lt;&amp;lt; Framesize(450,450);
g &amp;lt;&amp;lt; Save Presentation( "$TEMP/jmp_example.pptx" );

g[FrameBox(1)] &amp;lt;&amp;lt; Framesize(150,150);
g&amp;lt;&amp;lt; Save Presentation( "$TEMP/jmp_example.pptx",append );

g[FrameBox(1)] &amp;lt;&amp;lt; Framesize(75,75);
g&amp;lt;&amp;lt; Save Presentation( "$TEMP/jmp_example.pptx",append );


g[FrameBox(1)] &amp;lt;&amp;lt; Framesize(25,25);
g&amp;lt;&amp;lt; Save Presentation( "$TEMP/jmp_example.pptx",append );


Open( "$TEMP/jmp_example.pptx" );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The earlier blog clearly states my (and my co-author's opinion) that PowerPoint scaling is a mystery.&amp;nbsp; The earlier blog references a script written for our book. My best known strictly JMP method is to create a display box scaled to your powerpoint page size, and save pictures and reports to the scale you need (maybe just one little corner of the pagesized display) then use save presentation. That allows you to save multiple graphs on a single page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/15826i0B06392AD2FA4B1D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I did not attach the script referenced in the link above, since the script builds on a complex example, and is too complex for this blog. The example creates a custom title and counts pages and saves 8 regression reports per page. But it uses our recommended method of:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create a window that is a journal&amp;nbsp; New Window("name", &amp;lt;&amp;lt; Journal);&lt;/LI&gt;
&lt;LI&gt;For each page, append all planned objects in a properly scaled window&lt;/LI&gt;
&lt;LI&gt;Get Picture for that window&lt;/LI&gt;
&lt;LI&gt;Journal, that picture.&lt;/LI&gt;
&lt;LI&gt;Then use Save presentation for that journal.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;There is a little more to it, but that is the gist.&lt;/P&gt;
&lt;P&gt;Hope the script above helps you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 12:57:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-size-graph-export-to-PPT-by-JSL/m-p/173957#M40146</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2019-02-26T12:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to set size graph export to PPT by JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-set-size-graph-export-to-PPT-by-JSL/m-p/176184#M40172</link>
      <description>Thank you for answer very useful.</description>
      <pubDate>Wed, 27 Feb 2019 02:00:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-set-size-graph-export-to-PPT-by-JSL/m-p/176184#M40172</guid>
      <dc:creator>Jet00</dc:creator>
      <dc:date>2019-02-27T02:00:50Z</dc:date>
    </item>
  </channel>
</rss>

