void IltmmCapture_get_CameraControl_Example (IltmmCapture* pCapture)
{
IltmmCameraControl* pCamera;
long lMin, lMax, lSteppingDelta, lDefault, lCapsFlags, lVal, lFlag;
IltmmCapture_get_CameraControl(pCapture, &pCamera);
IltmmCameraControl_GetRange(pCamera, ltmmCameraControl_Zoom, &lMin, &lMax, &lSteppingDelta, &lDefault, &lCapsFlags);
IltmmCameraControl_Get(pCamera, ltmmCameraControl_Zoom, &lVal, &lFlag);
lVal = (lMax + lMin) / 2;
IltmmCameraControl_Set(pCamera, ltmmCameraControl_Zoom, lVal, lFlag);
IltmmCameraControl_Release(pCamera);
}
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET