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

!15935 monthly分支Pasteboard API扫描文档修改

Merge pull request !15935 from zuotao/monthly_20221018
...@@ -812,7 +812,7 @@ For details about the error codes, see [Pasteboard Error Codes](../errorcodes/er ...@@ -812,7 +812,7 @@ For details about the error codes, see [Pasteboard Error Codes](../errorcodes/er
| Error Code ID| Error Message| | Error Code ID| Error Message|
| -------- | -------- | | -------- | -------- |
| 12900001 | The index is out of range. | | 12900001 | The index is out of the record. |
**Example** **Example**
...@@ -910,7 +910,7 @@ For details about the error codes, see [Pasteboard Error Codes](../errorcodes/er ...@@ -910,7 +910,7 @@ For details about the error codes, see [Pasteboard Error Codes](../errorcodes/er
| Error Code ID| Error Message| | Error Code ID| Error Message|
| -------- | -------- | | -------- | -------- |
| 12900001 | The index is out of range. | | 12900001 | The index is out of the record. |
**Example** **Example**
...@@ -940,7 +940,7 @@ For details about the error codes, see [Pasteboard Error Codes](../errorcodes/er ...@@ -940,7 +940,7 @@ For details about the error codes, see [Pasteboard Error Codes](../errorcodes/er
| Error Code ID| Error Message| | Error Code ID| Error Message|
| -------- | -------- | | -------- | -------- |
| 12900001 | The index is out of range. | | 12900001 | The index is out of the record. |
**Example** **Example**
......
...@@ -606,7 +606,7 @@ let opt = { ...@@ -606,7 +606,7 @@ let opt = {
scaleMode: 1 scaleMode: 1
}; };
image.createPixelMap(buffer, opt).then((pixelMap) => { image.createPixelMap(buffer, opt).then((pixelMap) => {
let pasteData = pasteboard.createData(MIMETYPE_PIXELMAP, pixelMap); let pasteData = pasteboard.createData(pasteboard.MIMETYPE_PIXELMAP, pixelMap);
let PixelMap = pasteData.getPrimaryPixelMap(); let PixelMap = pasteData.getPrimaryPixelMap();
}); });
``` ```
...@@ -782,7 +782,7 @@ getRecord(index: number): PasteDataRecord ...@@ -782,7 +782,7 @@ getRecord(index: number): PasteDataRecord
| 错误码ID | 错误信息 | | 错误码ID | 错误信息 |
| -------- | -------- | | -------- | -------- |
| 12900001 | The index is out of range. | | 12900001 | The index is out of the record. |
**示例:** **示例:**
...@@ -880,7 +880,7 @@ removeRecord(index: number): void ...@@ -880,7 +880,7 @@ removeRecord(index: number): void
| 错误码ID | 错误信息 | | 错误码ID | 错误信息 |
| -------- | -------- | | -------- | -------- |
| 12900001 | The index is out of range. | | 12900001 | The index is out of the record. |
**示例:** **示例:**
...@@ -910,7 +910,7 @@ replaceRecord(index: number, record: PasteDataRecord): void ...@@ -910,7 +910,7 @@ replaceRecord(index: number, record: PasteDataRecord): void
| 错误码ID | 错误信息 | | 错误码ID | 错误信息 |
| -------- | -------- | | -------- | -------- |
| 12900001 | The index is out of range. | | 12900001 | The index is out of the record. |
**示例:** **示例:**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册