Code Red > .NET
Ploting from a AxDbDocument
(1/1)
Humbertogo:
how Ploting from a AxDbDocument vb.net
can not open the drawing
Imports Autodesk.AutoCAD.Interop.Common
Dim dbxDwg As AxDbDocument
dbxDwg.Open(strFile)
Jeff_M:
AFAIK, you cannot plot from an AxDbDocument. Plots require graphics, which AxDb docs do not produce.
MickD:
To expand on what Jeff said, in a graphical application sense you need to send your document to a device context (DC), this can be GDI, Opengl/DirectX (in acad it would be the GS (graphics system) classes from memory) or a printer say where the data is formed into the graphics for viewing or printing.
Now, whether you can do this without acad being 'open' I don't know but if you can get the doc and send it to the printer DC you may have a chance.
Something to think about anyway.
Navigation
[0] Message Index
Go to full version