未验证 提交 41284935 编写于 作者: O openharmony_ci 提交者: Gitee

!7165 image文档同步master

Merge pull request !7165 from 徐蕊w/OpenHarmony-3.2-Beta2
...@@ -1311,7 +1311,7 @@ modifyImageProperty(key: string, value: string): Promise\<void> ...@@ -1311,7 +1311,7 @@ modifyImageProperty(key: string, value: string): Promise\<void>
**示例:** **示例:**
```js ```js
imageSourceApi.modifyImageProperty("ImageWidth", "abc") imageSourceApi.modifyImageProperty("ImageWidth", "120")
.then(() => { .then(() => {
const w = imageSourceApi.getImageProperty("ImageWidth") const w = imageSourceApi.getImageProperty("ImageWidth")
console.info('w', w); console.info('w', w);
...@@ -1337,7 +1337,7 @@ modifyImageProperty(key: string, value: string, callback: AsyncCallback\<void>): ...@@ -1337,7 +1337,7 @@ modifyImageProperty(key: string, value: string, callback: AsyncCallback\<void>):
**示例:** **示例:**
```js ```js
imageSourceApi.modifyImageProperty("ImageWidth", "abc",() => {}) imageSourceApi.modifyImageProperty("ImageWidth", "120",() => {})
``` ```
### updateData<sup>9+</sup> ### updateData<sup>9+</sup>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册