DWF

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

Load a dwf and print inside .NET application

511 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

 

 

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!