AnsweredAssumed Answered

How do you set part document window size to 450 x 300 pixels with a macro?

Question asked by Kevin Bouwman on Jun 23, 2017
Latest reply on Jun 27, 2017 by Deepak Gupta

I have a macro to save a part as a PDF in a specific folder our ERP system uses to show thumbnails.  Because the PDFs created by SW have been too big, and have too much white space around the image, we have been resizing these PDFs in Adobe. It seems to me we should be able to eliminate this step.  I experimented a bit and discovered that if I normalize the part window and drag one of the window corners to make the window smaller, then save as PDF, I get a smaller PDF.  Can I set the current window to a specific size in a macro?  How would that be done?