diff --git a/api/@ohos.app.form.formInfo.d.ts b/api/@ohos.app.form.formInfo.d.ts index c6c6e9245bc506618b3bef00cfa9932114d7438f..c4887d90aaef4d4b4a5f0ad0744dfb9dedd33bc0 100644 --- a/api/@ohos.app.form.formInfo.d.ts +++ b/api/@ohos.app.form.formInfo.d.ts @@ -1140,6 +1140,34 @@ declare namespace formInfo { * @since 12 */ FORM_PERMISSION_GRANTED_KEY = 'ohos.extra.param.key.permission_granted', + + /** + * Indicates the key specifying the width(vp) of the form to be obtained, which is represented as + * want: { + * "parameters": { + * FORM_WIDTH_VP_KEY: 400vp + * } + * } + * + * @syscap SystemCapability.Ability.Form + * @atomicservice + * @since 20 + */ + FORM_WIDTH_VP_KEY = 'ohos.extra.param.key.form_width_vp', + + /** + * Indicates the key specifying the height(vp) of the form to be obtained, which is represented as + * want: { + * "parameters": { + * FORM_HEIGHT_VP_KEY: 400vp + * } + * } + * + * @syscap SystemCapability.Ability.Form + * @atomicservice + * @since 20 + */ + FORM_HEIGHT_VP_KEY = 'ohos.extra.param.key.form_height_vp', } /**