<?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 How to create PDF in landscape view using VBA? in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/how-to-create-pdf-in-landscape-view-using-vba/m-p/10028350#M3705</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently using the below code for creating PDF through VBA. The drawing layout is right, the only issue is I am getting the PDF view in portrait instead of landscape.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ThisDrawing&lt;/SPAN&gt;.ActiveLayout.UseStandardScale = True&lt;BR /&gt;&lt;SPAN&gt;ThisDrawing&lt;/SPAN&gt;.ActiveLayout.StandardScale = acScaleToFit&lt;BR /&gt;&lt;SPAN&gt;ThisDrawing&lt;/SPAN&gt;ActiveLayout.ConfigName = "PDF-XChange 4.0 Lite"&lt;BR /&gt;&lt;SPAN&gt;ThisDrawing&lt;/SPAN&gt;.ActiveLayout.CanonicalMediaName = "Letter"&lt;BR /&gt;&lt;SPAN&gt;ThisDrawing&lt;/SPAN&gt;.ActiveLayout.PlotRotation = ac90degrees&lt;BR /&gt;&lt;SPAN&gt;ThisDrawing&lt;/SPAN&gt;.ActiveLayout.PlotType = acExtents&lt;BR /&gt;&lt;SPAN&gt;ThisDrawing&lt;/SPAN&gt;.ActiveLayout.CenterPlot = True&lt;BR /&gt;&lt;SPAN&gt;ThisDrawing&lt;/SPAN&gt;.Plot.PlotToDevice&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me with the code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohammed Shuaib&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jan 2021 11:40:52 GMT</pubDate>
    <dc:creator>shuaib_cad</dc:creator>
    <dc:date>2021-01-25T11:40:52Z</dc:date>
    <item>
      <title>How to create PDF in landscape view using VBA?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/how-to-create-pdf-in-landscape-view-using-vba/m-p/10028350#M3705</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently using the below code for creating PDF through VBA. The drawing layout is right, the only issue is I am getting the PDF view in portrait instead of landscape.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ThisDrawing&lt;/SPAN&gt;.ActiveLayout.UseStandardScale = True&lt;BR /&gt;&lt;SPAN&gt;ThisDrawing&lt;/SPAN&gt;.ActiveLayout.StandardScale = acScaleToFit&lt;BR /&gt;&lt;SPAN&gt;ThisDrawing&lt;/SPAN&gt;ActiveLayout.ConfigName = "PDF-XChange 4.0 Lite"&lt;BR /&gt;&lt;SPAN&gt;ThisDrawing&lt;/SPAN&gt;.ActiveLayout.CanonicalMediaName = "Letter"&lt;BR /&gt;&lt;SPAN&gt;ThisDrawing&lt;/SPAN&gt;.ActiveLayout.PlotRotation = ac90degrees&lt;BR /&gt;&lt;SPAN&gt;ThisDrawing&lt;/SPAN&gt;.ActiveLayout.PlotType = acExtents&lt;BR /&gt;&lt;SPAN&gt;ThisDrawing&lt;/SPAN&gt;.ActiveLayout.CenterPlot = True&lt;BR /&gt;&lt;SPAN&gt;ThisDrawing&lt;/SPAN&gt;.Plot.PlotToDevice&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me with the code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohammed Shuaib&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 11:40:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/how-to-create-pdf-in-landscape-view-using-vba/m-p/10028350#M3705</guid>
      <dc:creator>shuaib_cad</dc:creator>
      <dc:date>2021-01-25T11:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to create PDF in landscape view using VBA?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/how-to-create-pdf-in-landscape-view-using-vba/m-p/10028441#M3706</link>
      <description>&lt;P&gt;Did you try to chnge this option ?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ThisDrawing&lt;/SPAN&gt;&lt;SPAN&gt;.ActiveLayout.PlotRotation = &lt;FONT color="#FF0000"&gt;ac90degrees&lt;/FONT&gt; with&amp;nbsp;&lt;U&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;ac0degrees&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 12:21:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/how-to-create-pdf-in-landscape-view-using-vba/m-p/10028441#M3706</guid>
      <dc:creator>grobnik</dc:creator>
      <dc:date>2021-01-25T12:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to create PDF in landscape view using VBA?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/how-to-create-pdf-in-landscape-view-using-vba/m-p/10028464#M3707</link>
      <description>&lt;P&gt;Hi Grobnik!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My drawing is in landscape, so if I give ac0degrees, the drawing is trying to fit itself in portrait, leaving the top and bottom portion of the sheet empty.&lt;/P&gt;&lt;P&gt;If I give ac90degrees, the sheet and drawing is perfect, but after the PDF is generated I have to open the PDF and rotate the drawing to 90degrees manually and save the PDF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohammed Shuaib&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 12:58:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/how-to-create-pdf-in-landscape-view-using-vba/m-p/10028464#M3707</guid>
      <dc:creator>shuaib_cad</dc:creator>
      <dc:date>2021-01-25T12:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to create PDF in landscape view using VBA?</title>
      <link>https://forums.autodesk.com/t5/vba-forum/how-to-create-pdf-in-landscape-view-using-vba/m-p/10033177#M3708</link>
      <description>&lt;P&gt;That's usually a problem with the pdf printer driver you are using. What are you using? Adobe used to have that problem. It's one reason i started using Bluebeam.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 20:20:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/how-to-create-pdf-in-landscape-view-using-vba/m-p/10033177#M3708</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2021-01-26T20:20:32Z</dc:date>
    </item>
  </channel>
</rss>

