.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Setting the scale of print.

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Dasharnb777
509 Views, 1 Reply

Setting the scale of print.

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.

1 REPLY 1
Message 2 of 2
Dasharnb777
in reply to: Dasharnb777

I got it!

Just use

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

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost