diff --git a/api/@internal/component/ets/styled_string.d.ts b/api/@internal/component/ets/styled_string.d.ts index 13e178bb06e971fbd113671b3427c01b1e3230dd..3b6359f1986159b86654774f52846093f74c783b 100644 --- a/api/@internal/component/ets/styled_string.d.ts +++ b/api/@internal/component/ets/styled_string.d.ts @@ -1779,6 +1779,18 @@ declare class ImageAttachment { */ readonly size?: SizeOptions; + /** + * Get the imageSize of the StyledString in vp unit. + * + * @type { ?SizeOptions } - the imageSize of the StyledString in vp unit or undefined + * @readonly + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 21 + */ + readonly sizeInVp?: SizeOptions; + /** * Get the ImageSpanAlignment of the StyledString. *