Link to home
Start Free TrialLog in
Avatar of Elham_Seif
Elham_Seif

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of Roshan Davis
Roshan Davis
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial