Message 1 of 2

Not applicable
07-28-2020
12:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm trying to export the drawing in .jpg format. Not like exporting in .pdf, the exported image doesn't fit as drawing frame but shows the screen at the moment (as shown picture below).
My current code is something like below.
Dim drawingNumber As String
drawingNumber = textbox_drawingNumber.Text
Dim oDoc As Inventor.DrawingDocument
Call oDoc.SaveAs("C:\testFile\" + drawingNumber + ".jpg", True)
If possible, I also would like to set DPI and the size (width, height).
Thank you for your help in advance.
Solved! Go to Solution.