ImageGear for C and C++ on Windows v20.1 - Updated
IG_vect_view_get_focus
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > View Functions > IG_vect_view_get_focus

This function gets the lens focus of the camera.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_view_get_focus(
        HIG_VECT_VIEW hView, 
        float* lpFocus
);

Arguments:

Name Type Description
hView HIG_VECT_VIEW Handle to the View.
lpFocus float* Buffer for the lens focus.

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.