OH_ArkUI_LineHeightStyle
typedef struct OH_ArkUI_LineHeightStyle OH_ArkUI_LineHeightStyle
概述
定义行高样式。
可以通过OH_ArkUI_LineHeightStyle_Create接口创建对应的行高样式对象。
可以通过OH_ArkUI_LineHeightStyle_Destroy接口销毁行高样式对象。
对象创建后可以通过OH_ArkUI_LineHeightStyle_SetLineHeight接口设置具体的固定行高值。
从API版本26.0.0开始,对象创建后可以通过OH_ArkUI_LineHeightStyle_SetLineHeightMultiple接口设置具体的行高的倍数值。
起始版本: 24
相关模块: ArkUI_NativeModule
所在头文件: styled_string.h
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 arkts-apis-uicontext-contextmenucontroller
openharmony 鸿蒙 errorcode-canvas
openharmony 鸿蒙 capi-oh-nativexcomponent-native-xcomponent-oh-nativexcomponent
openharmony 鸿蒙 errorcode-bindSheet
openharmony 鸿蒙 js-apis-arkui-uiExtension-sys
openharmony 鸿蒙 capi-arkui-accessibility-arkui-accessibilityeventinfo
openharmony 鸿蒙 capi-arkui-rendernodeutils
openharmony 鸿蒙 capi-native-node-h-nodeattributetype-layoutcomponent