Skip to main content

OH_ImageSourceInfo_GetHeight

Function OH_ImageSourceInfo_GetHeight 

Source
pub unsafe extern "C" fn OH_ImageSourceInfo_GetHeight(
    info: *mut OH_ImageSource_Info,
    height: *mut u32,
) -> Image_ErrorCode
Expand description

@brief Obtains the image height.

@param info Pointer to an OH_ImageSource_Info object. @param height Pointer to the image height, in px. @return {@link IMAGE_SUCCESS} if the execution is successful.
{@link IMAGE_BAD_PARAMETER} info is nullptr, or height is nullptr. @since 12