Print drawing through eDrawing API
Print drawing through eDrawing API
(OP)
I have a custom application that I'm developing in VB.NET 2008 for a customer and I need to print the drawing from the eDrawing application without opening the drawing. I'm using the 2010 version of the eDrawing application but I don't have the API to work with. I found a forum post on SoildWorks site and I used the code snippet from that but it caused the program to hang.
There is property "PageSetupOptions exposed by the AxEModelViewControl on my form but I don't know what values it needs for the parameters.
I would greatly appreciate any advice or tips on working with the API.
Below is a snapshot of my print function:
_edrawObject.PageSetupOptions = "1,1, , ,1,7,printer"
_edrawObject.Print4(False, _listfile, False, False, False, EModelView.EMVPrintType.eScaleToFit, 1, 0, 0, True, 1, 1)
There is property "PageSetupOptions exposed by the AxEModelViewControl on my form but I don't know what values it needs for the parameters.
I would greatly appreciate any advice or tips on working with the API.
Below is a snapshot of my print function:
_edrawObject.PageSetupOptions = "1,1, , ,1,7,printer"
_edrawObject.Print4(False, _listfile, False, False, False, EModelView.EMVPrintType.eScaleToFit, 1, 0, 0, True, 1, 1)





