DWF

Reply
Active Contributor
alexniccoli
Posts: 42
Registered: ‎02-03-2005
Message 1 of 1 (502 Views)

Load a dwf and print inside .NET application

502 Views, 0 Replies
02-14-2013 12:59 AM

Hello

Into an .net application i'd like to load a dwf file and print it settings device,scale, and so on.

I have added into a form Autodesk DWF Viewer control .

If I execute :

 

this.axCExpressViewerControl2.SourcePath = filename;

 

ExpressViewerDll.IAdECompositeViewer viewer = (ExpressViewerDll.IAdECompositeViewer this.axCExpressViewerControl2.ECompositeViewer;

EPlotViewer.IAdEPlotViewer2 pageViewer = (EPlotViewer.IAdEPlotViewer2 viewer.DocumentHandler;

pageViewer.SimplePrint(true, false);

 

Dwf is printed but using default printer and I cannot specify scale.

 

I can I do it?

 

Alessandro

 

 

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.