Example #1
0
 /// <summary>
 /// Stop capture on one of the camera's output ports.
 /// </summary>
 /// <param name="port">An output port of the camera component.</param>
 public void StopCapture(IOutputPort port)
 {
     if (port == this.Camera.StillPort || port == this.Camera.VideoPort)
     {
         port.SetImageCapture(false);
     }
 }