未验证 提交 1824f052 编写于 作者: 葛亚芳 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-screenshot.md.

Signed-off-by: N@ge-yafang <geyafang@huawei.com>
上级 2ded3940
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
## 导入模块 ## 导入模块
``` ```js
import screenshot from '@ohos.screenshot'; import screenshot from '@ohos.screenshot';
``` ```
...@@ -67,7 +67,7 @@ save(options?: ScreenshotOptions, callback: AsyncCallback&lt;image.PixelMap&gt;) ...@@ -67,7 +67,7 @@ save(options?: ScreenshotOptions, callback: AsyncCallback&lt;image.PixelMap&gt;)
- 示例 - 示例
``` ```js
var ScreenshotOptions = { var ScreenshotOptions = {
"screenRect": { "screenRect": {
"left": 200, "left": 200,
...@@ -112,7 +112,7 @@ save(options?: ScreenshotOptions): Promise&lt;image.PixelMap&gt; ...@@ -112,7 +112,7 @@ save(options?: ScreenshotOptions): Promise&lt;image.PixelMap&gt;
- 示例 - 示例
``` ```js
var ScreenshotOptions = { var ScreenshotOptions = {
"screenRect": { "screenRect": {
"left": 200, "left": 200,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册