MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria User Interface Library Interface > a) Functions > laImagePlusWidget_GetPreserveAspectEnabled Function
MPLAB® Harmony Graphics Suite
laImagePlusWidget_GetPreserveAspectEnabled Function

Returns the boolean value of the 'preserve aspect' property. If the stretch flag is enabled then this flag will cause the resized image to fill as much of the container widget as possible while still preserving its original aspect ratio.

C
LIB_EXPORT laBool laImagePlusWidget_GetPreserveAspectEnabled(
    laImagePlusWidget* img
);
Parameters
Parameters 
Description 
laImagePlusWidget* img 
the widget 
Returns

laBool - the value of the aspect flag

MPLAB® Harmony Graphics Suite