ImageGear for C and C++ on Windows v19.1 - Updated
IG_vect_drwng_get_viewindex
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Drawing Functions > IG_vect_drwng_get_viewindex

The function returns View position by View handle.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_drwng_get_viewindex(
        HIG_VECT_DRWNG hDrwng,
        HIG_VECT_VIEW hView,
        long* lpIndex
);

Arguments:

Name Type Description
hDrwng HIG_VECT_DRWNG Handle to the Drawing.
hView HIG_VECT_VIEW Handle of the View.
lpIndex long* Buffer for the View position.

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