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
Copy file name to clipboardExpand all lines: powerapps-docs/developer/model-driven-apps/clientapi/reference/Xrm-Device/captureImage.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ search.app:
29
29
30
30
| Parameter Name | Type | Required |Description |
31
31
| ------------- |-------------| -----|-----|
32
-
|imageOptions |Object | No|An object with the following attributes:<br/>- **allowEdit**: Indicates whether to edit the image before saving. Boolean.<br/>- **height**: Height of the image to capture. Number.<br/>- **preferFrontCamera**: Indicates whether to capture image using the front camera of the device. Boolean.<br/>- **quality**: Quality of the image file in percentage. Number.<br/>- **width**: Width of the image to capture. Number..|
32
+
|imageOptions |Object | No|An object with the following attributes:<br/>- **allowEdit**: Indicates whether to edit the image before saving. Boolean.<br/>- **height**: Height of the image to capture. Number.<br/>- **quality**: Quality of the image file in percentage. Number.<br/>- **width**: Width of the image to capture. Number..|
33
33
|successCallback |Function | Yes|A function to call when image is returned. A base64 encoded image object with the following attributes is passed to the function:<br/>- **fileContent**: Contents of the image file. String <br/>- **fileName**: Name of the image file. String.<br/>- **fileSize**: Size of the image file in KB. Number.<br/>- **mimeType**: Image file MIME type. String.|
34
34
|errorCallback |Function | Yes|A function to call when the operation fails. |
0 commit comments