.NET

Reply
Contributor
Dasharnb777
Posts: 14
Registered: ‎02-22-2012
Message 1 of 2 (194 Views)
Accepted Solution

Setting the scale of print.

194 Views, 1 Replies
04-09-2012 01:12 PM

Is there a way to print out the exact scale just like using manual printing or I just can use 

// a 1 inch: 2 units scale
acPlSetVdr.SetStdScale(acPlSet, 0.5);

// a 2 inches: 1 unit scale
acPlSetVdr.SetStdScale(acPlSet, 2);

 By the way, setting for example (acPlSetVdr.SetStdScale(acPlSet, 2.04);

I get eInvalidInput error.

Thank you. I need to solve this one so much.

I got it!

Just use

CustomScale Scale = new CustomScale(1, 1.05);
validator.SetCustomPrintScale(PlotSet, Scale);

 

Contributor
Dasharnb777
Posts: 14
Registered: ‎02-22-2012
Message 2 of 2 (191 Views)

Re: Setting the scale of print.

04-09-2012 01:42 PM in reply to: Dasharnb777

I got it!

Just use

CustomScale Scale = new CustomScale(1, 1.05);
validator.SetCustomPrintScale(PlotSet, Scale);

 

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!