ImageGear for C and C++ on Windows v19.2 - Updated
IG_vect_view_adjust
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > View Functions > IG_vect_view_adjust

This function re-calculates the bounding cube of the view and fits it into the device rectangle.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_view_adjust(
   HIG_VECT_VIEW hView
);

Arguments:

Name Type Description
hView HIG_VECT_VIEW Handle to the view to be adjusted.

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

Remarks:

This function changes the transformation matrix of the view to fit it into the device rectangle.