diff --git a/api/@internal/component/ets/styled_string.d.ts b/api/@internal/component/ets/styled_string.d.ts index 13e178bb06e971fbd113671b3427c01b1e3230dd..45b24924e6438a393e4488cffbdc635ad2c0f80c 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. + * + * @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. *