You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the `ComPDFKit.openDocument` method or the `CPDFReaderView` UI component to display a PDF file, you need to pass configuration parameters to customize the UI features and PDF view properties. `ComPDFKit` provides default configuration parameters through `ComPDFKit.getDefaultConfig`. You can retrieve them using the following example:
142
140
143
-
---
144
141
145
142
```tsx
146
143
ComPDFKit.getDefaultConfig({})
@@ -198,6 +195,22 @@ ComPDFKit.getDefaultConfig({
198
195
199
196
For more configuration parameter descriptions, please see [CPDFCONFIGURATION.md](./CONFIGURATION.md).
200
197
198
+
### removeSignFileList
199
+
200
+
Delete the signature saved in the electronic signature annotation list.
| xfdfFile | string | Path of the XFDF file to be imported.<br/>The Android platform supports the following paths:<br/>- **assets file**:'file:///android_assets/test.xfdf'<br/>- **file path**: '/data/xxx.xfdf'<br/>- **Uri**: 'content://xxxx' |
| androidAvailableActions | Array | Functions available in the top toolbar for Android platform.<br />Defaults: `thumbnail`, `search`, `bota`, `menu`|
137
-
| iosLeftBarAvailableActions | Array | Functions available in the left side of the top toolbar for iOS platform.<br />Defaults: `back`, `thumbnail`|
138
-
| iosRightBarAvailableActions | Array | Functions available in the right side of the top toolbar for iOS platform.<br />Defaults: `search`, `bota`, `menu`|
139
-
| availableMenus | Array | A list of more functions popped up by the `menu` option on the top toolbar. |
| androidAvailableActions | Array | Functions available in the top toolbar for Android platform.<br />Defaults: `thumbnail`, `search`, `bota`, `menu`|
138
+
| iosLeftBarAvailableActions | Array | Functions available in the left side of the top toolbar for iOS platform.<br />Defaults: `back`, `thumbnail`|
139
+
| iosRightBarAvailableActions | Array | Functions available in the right side of the top toolbar for iOS platform.<br />Defaults: `search`, `bota`, `menu`|
140
+
| availableMenus | Array | A list of more functions popped up by the `menu` option on the top toolbar. |
141
+
| mainToolbarVisible | boolean | 是否显示主界面视图顶部工具栏 |
140
142
141
143
##### **Constants**
142
144
@@ -160,9 +162,11 @@ Configure functions for the top toolbar in the PDF view.
160
162
| save | Saves the document. |
161
163
| share | Shares the PDF document. |
162
164
| openDocument | Opens the system file selector to choose and open a PDF document. |
165
+
| snip | The PDF capture function allows you to capture an area in the PDF document and convert it into an image. |
163
166
```json
164
167
{
165
168
"toolbarConfig": {
169
+
"mainToolbarVisible" : true,
166
170
"androidAvailableActions": [
167
171
"thumbnail",
168
172
"search",
@@ -187,7 +191,8 @@ Configure functions for the top toolbar in the PDF view.
187
191
"flattened",
188
192
"save",
189
193
"share",
190
-
"openDocument"
194
+
"openDocument",
195
+
"snip"
191
196
]
192
197
}
193
198
}
@@ -756,6 +761,7 @@ This section is used to configure the types of forms enabled in the view's botto
756
761
| pageSpacing | int | 10 | Spacing between each page of the PDF.<br/>default `10px`. |
0 commit comments