diff --git a/graphic/graphic_2d/native_drawing/drawing_text_typography.h b/graphic/graphic_2d/native_drawing/drawing_text_typography.h
index 9666217288d549c081114e2ed343c13d6a8f6973..61d36063976d6a41e49f59585cbebdbc7ffcb108 100644
--- a/graphic/graphic_2d/native_drawing/drawing_text_typography.h
+++ b/graphic/graphic_2d/native_drawing/drawing_text_typography.h
@@ -975,6 +975,20 @@ void OH_Drawing_TypographyHandlerPushTextStyle(OH_Drawing_TypographyCreate* hand
*/
void OH_Drawing_TypographyHandlerAddText(OH_Drawing_TypographyCreate* handler, const char* text);
+/**
+ * @brief Sets the text content. The content supports UTF-8, UTF-16, and UTF-32 formats.
+ *
+ * @syscap SystemCapability.Graphic.Graphic2D.NativeDrawing
+ * @param handler Indicates the pointer to an OH_Drawing_TypographyCreate object.
+ * @param text Indicates the pointer to the text content to set.
+ * @param byteLength Set the byte length of the text content.
+ * @param textEncodeType Indicates the text encoding type OH_Drawing_TextEncoding.
+ * @since 20
+ * @version 1.0
+ */
+void OH_Drawing_TypographyHandlerAddEncodeText(OH_Drawing_TypographyCreate* handler, const void* text,
+ size_t byteLength, OH_Drawing_TextEncoding textEncodeType);
+
/**
* @brief Removes the topmost style in the stack, leaving the remaining styles in effect.
*