Skip to main content

OH_Drawing_TypographyGetTextMaxLines

Function OH_Drawing_TypographyGetTextMaxLines 

Source
pub unsafe extern "C" fn OH_Drawing_TypographyGetTextMaxLines(
    style: *mut OH_Drawing_TypographyStyle,
) -> usize
Expand description

@brief Sets the maximum number of lines in a text.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Indicates the pointer to a typography style object OH_Drawing_TypographyStyle. @return Return the maximum number of lines in a text. @since 12 @version 1.0