ImageGear for C and C++ on Windows v20.0 - Updated
IG_vect_view_set_focus
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.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_view_set_focus(
        HIG_VECT_VIEW hView, 
        float fFocus
);

Arguments:

Name Type Description
hView HIG_VECT_VIEW Handle to the View.
fFocus float Camera lens focus being set.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

None

Is this page helpful?
Yes No
Thanks for your feedback.