拍照演示

主要属性设置

Active:True

DeviceIndex:设备号,默认为0

其他方法

procedure Capture; //捕获
procedure Pause; //暂停
procedure Play; //播放
procedure Stop; //停止
property State: TdxCameraControlState read FState; //设备状态

设计界面

代码

//拍照并在cxImage中显示
procedure TForm1.Button1Click(Sender: TObject);
begin
dxCameraControl1.Capture;
cxImage1.Picture.Assign(dxCameraControl1.CapturedBitmap);
end;
//保存图片
procedure TForm1.Button3Click(Sender: TObject);
begin
if SavePictureDialog1.Execute then
begin
cxImage1.Picture.SaveToFile(SavePictureDialog1.FileName);
end;
end;

拍照演示

最新文章

  1. Spring学习系列(三) 通过Java代码装配Bean
  2. LeetCode - Minimum Depth of Binary Tree
  3. PHP curl https访问问题
  4. iOS 下ARC的内存管理机制
  5. Session fixation--wiki
  6. 【Struts2+Spring3+Hibernate3】SSH框架整合实现CRUD_1.3
  7. C程序设计语言练习题1-23
  8. Codeforces 138D World of Darkraft
  9. Exponentiation
  10. Shell变量:Shell变量的定义、删除变量、只读变量、变量类型
  11. Nginx+tomcat配置集群负载均衡
  12. (一〇八)iPad开发之横竖屏适配
  13. uva11754 中国剩余定理+暴力搜索
  14. PyCharm使用Anaconda新建的环境
  15. 嵌入式ROM核的调用
  16. Linux-Memcache和Redis常用命令
  17. Redis监控技巧总结
  18. VC++ GetSafeHwnd()和GetSafeHandle()
  19. Mybatis的输入映射和输出映射
  20. Clojure基础课程2-Clojure中的数据长啥样?

热门文章

  1. nohup 和 &的含义
  2. [Object Tracking] Deep Boundary detection Tech
  3. iOS - DNS劫持
  4. docker 搭建ntp服务器
  5. 在 VS Code 和 Chrome 中调试
  6. solus 系统 - 编译安裝 ibus-rime 中文输入法(附:小鹤双拼双形配置文件)
  7. MySQL使用mysqldump备份及还原
  8. [No0000CA]什么是“普瑞马法则”?以及 如何利用“普瑞马法则”,三步克服惰性
  9. toggle显示与隐藏切换
  10. iOS10原生的语音转文字功能