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

Load a dwf and print inside .NET application

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


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?





Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.