O
Olaf Baeyens
To my big suprise HorizontalResolution and VerticalResolution iof the Bitmap
class are read-only!
Is there any reason to this? And How do I change them?
Bitmap bitmap = new Bitmap(imgPhoto.Width,imgPhoto.Height,FileFormat);
bitmap.HorizontalResolution=(float)Resolution.XPixelsInInch;
bitmap.VerticalResolution=(float)Resolution.YPixelsInInch;
Thanks.
class are read-only!
Is there any reason to this? And How do I change them?
Bitmap bitmap = new Bitmap(imgPhoto.Width,imgPhoto.Height,FileFormat);
bitmap.HorizontalResolution=(float)Resolution.XPixelsInInch;
bitmap.VerticalResolution=(float)Resolution.YPixelsInInch;
Thanks.