ImageGear Professional v18.4 > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > View Functions > IG_vect_view_set_focus |
This function sets the lens focus of the camera.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_view_set_focus(
HIG_VECT_VIEW hView,
float fFocus
);
|
Name | Type | Description |
hView | HIG_VECT_VIEW | Handle to the View. |
fFocus | float | Camera lens focus being set. |
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.
This function does not process image pixels.
None