diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 516876804a061d1c1f3c448e81c9ce314a96eb50..9d554ebd87f9939cfe7d6a26264eb0461e4b4f17 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -2562,6 +2562,29 @@ typedef enum { */ NODE_TEXT_CONTENT_ALIGN = 1036, + /** + * @brief Defines the minimum text line height attribute, which can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].f32: minimum line height, in fp.\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].f32: minimum line height, in fp.\n + * + */ + NODE_TEXT_MIN_LINE_HEIGHT = 1037, + /** + * @brief Defines the maximum text line height attribute, which can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].f32: maximum line height, in fp.\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].f32: maximum line height, in fp.\n + * + */ + NODE_TEXT_MAX_LINE_HEIGHT = 1038, + /** * @brief Defines the text content attribute, which can be set, reset, and obtained as required through APIs. *