How is it possible to change the default resolution for Bitmap in C# to something other than 96?

I am developing an application which works with images alot. As you know, the default resolution for a bitmap when we create it, is 96. I'd like to change the default value to 150, so that any new bitmap in my application has the resolution of (150,150).
I can use bm.setResolution(150,150), but I don't want to repeat it for any image I create.
Is there a command that can change the default setting of resolution in my application?
Thanks in advance.
Elham_SeifAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Roshan DavisCommented:
I think if you change the windows display properties DPI to some bigger custom value, the Bitmap also takes the same resolution as default. Have a try on Right click on Desktop->Properties->Settings Tab-> Click on advanced, select 'General' tab and change the DPI there and have a try. This can be set programatically also, if you want the code for that, I can get it.
All the Best
~Rosh
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Graphics Software

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.