OH_ArkUI_StyledString_CreateTypography

Function OH_ArkUI_StyledString_CreateTypography 

Source
pub unsafe extern "C" fn OH_ArkUI_StyledString_CreateTypography(
    handle: *mut ArkUI_StyledString,
) -> *mut OH_Drawing_Typography
Available on crate feature api-12 only.
Expand description

Creates a pointer to an OH_Drawing_Typography object based on a format string object for advanced text estimation and typography.

§Arguments

  • handle - A pointer to the ArkUI_StyledString object.

§Returns

  • A pointer to the OH_Drawing_Typography object. If the object returns a null pointer, the creation fails because the handle parameter is abnormal, such as a null pointer.

Available since API-level: 12