Click here to Skip to main content
15,888,157 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I wanted to change the camera resolution in windows mobile 6.5 through code. but its not working my code snippet is below.
C#
CameraCaptureDialog cameraCaptureDialog = new CameraCaptureDialog();  cameraCaptureDialog.Owner = this;  
cameraCaptureDialog.Resolution = new Size(800, 600);
Posted
Updated 24-Oct-12 5:59am
v2
Comments
Sergey Alexandrovich Kryukov 24-Oct-12 12:43pm    
Usually, such camera APIs calls only succeed when the input parameters for required pixel dimensions match some settings from a predefined set of optional settings supported be the device. Consult documentation and check up if 800x600 is supported (or 600x800? if you mix it up, it won't work either). If it is not, select a valid pair of values.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900