ImageGear for C and C++ on Windows v19.10 - Updated
IG_vect_viewport_get_rotation
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Viewport Functions > IG_vect_viewport_get_rotation

This function gets the rotation of the view being mapped.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_viewport_get_rotation(
        HIG_VECT_ENTITY hEntity, 
        HIG_VECT_ROTATION* lpRotation
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Handle to the Entity.
lpRotation HIG_VECT_ROTATION* Buffer for the rotation handle.

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