ImageGear Professional DLL v17.2 for Windows
IG_vect_view_get_ambient_color
Send Feedback
ImageGear Professional DLL v17.2 for Windows > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > View Functions > IG_vect_view_get_ambient_color

Glossary Item Box

This function retrieves the ambient color of the view.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_view_get_ambient_color(
   HIG_VECT_VIEW hView,
   float * lpAmbientColor
);

Arguments:

Name Type Description
hView HIG_VECT_VIEW Handle to the view.
lpAmbientColor float Array of 4 floats which will receive red, green, blue, and alpha components of the ambient color.

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:

Vector

Remarks:

See IG_vect_view_set_ambient_color for additional information.

©2012. Accusoft Corporation. All Rights Reserved.