Good morning.
I am trying to export a drawing to .BMP format from a .NET application.
I am calling the Export function of the document:
Public Sub Export( _
ByVal FileName As String, _
ByVal Extension As String, _
ByVal SelectionSet As SelectionSet _
)
obDocument.Export("c:\\export.bmp",".BMP",obselection);
but always fails with the following exception:
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in Testnanocad.exe
Additional information: El parĂ¡metro no es correcto. (Wrong parameter)
Please, can you tell me what parameters do I have to pass to the method to work OK?
Thanks in advance
1
1 reply to this topic
#1
Posted 15 March 2013 - 08:12 AM
#2
Posted 21 March 2013 - 03:04 PM
Currently, only dwg and dxf are supported as export types.
Build your own nanoCAD. Visit the nanoCAD API Blog. Join the nanoCAD Developers' Club.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users