Smartphone 拍照
如何在VB.NET中编写拍照的程序?就是有一个Picturebox用来取景,按下OK键拍照。 --------------------编程问答-------------------- 不晓滴.好象是要写驱动来实现吧. --------------------编程问答-------------------- wm5下面.net可以直接操作摄像头的。我在ppc上做过。CameraCaptureDialog camera = new CameraCaptureDialog();
camera.Owner = this.picCustomer;
camera.InitialDirectory = picFile;
camera.Mode = CameraCaptureMode.Still;
camera.Resolution = new Size(234, 205);
camera.StillQuality = CameraCaptureStillQuality.High;
if (camera.ShowDialog() == DialogResult.OK)
{
Bitmap bit = new Bitmap(camera.FileName);
picCustomer.Image = Image.FromHbitmap(bit.GetHbitmap());
}
补充:.NET技术 , VB.NET