Skip to main content

OH_Drawing_GetSizeOfTextBox

Function OH_Drawing_GetSizeOfTextBox 

Source
pub unsafe extern "C" fn OH_Drawing_GetSizeOfTextBox(
    textBox: *mut OH_Drawing_TextBox,
) -> usize
Expand description

@brief Obtains the number of text boxes.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param textBox Pointer to the OH_Drawing_TextBox object, which is obtained from {@link OH_Drawing_TypographyGetRectsForRange} or {@link OH_Drawing_TypographyGetRectsForPlaceholders}. @return Number of text boxes. @since 11 @version 1.0