diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 91acfcbef184d415a2a505d9d16c5b7f8f41345d..4e3c752889b5a175c04cb50ef764aedcaf9433a5 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -2277,6 +2277,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. *