Skip to main content

OH_Drawing_TypographyGetLineTextRange

Function OH_Drawing_TypographyGetLineTextRange 

Source
pub unsafe extern "C" fn OH_Drawing_TypographyGetLineTextRange(
    typography: *mut OH_Drawing_Typography,
    lineNumber: c_int,
    includeSpaces: bool,
) -> *mut OH_Drawing_Range
Expand description

@brief get line text range.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param typography Indicates the pointer to an OH_Drawing_Typography object. @param lineNumber Indicates the line number. @param includeSpaces Indicates whether spaces are contained. @return Returns line text range. @since 12 @version 1.0