diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 68e03458616775fbe8bbef56770b4b4334f26cdb..0e067a67b24c584b6a34450b072af801c7f3e128 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -2316,6 +2316,16 @@ typedef enum { */ NODE_IMMUTABLE_FONT_WEIGHT = 1030, + /** + * @brief Defines the text line count attribute, which can only be obtained as required through APIs. + * + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].i32: line count of the node. + * + * @since 20 + */ + NODE_TEXT_LINE_COUNT = 1031, + /** * @brief Defines the text content attribute, which can be set, reset, and obtained as required through APIs. *