Skip to content

Commit 52dc35b

Browse files
authored
Merge pull request MicrosoftDocs#2002 from trdehove/patch-2
Update captureImage.md
2 parents 53cf7c8 + cfe728c commit 52dc35b

File tree

1 file changed

+1
-1
lines changed
  • powerapps-docs/developer/model-driven-apps/clientapi/reference/Xrm-Device

1 file changed

+1
-1
lines changed

powerapps-docs/developer/model-driven-apps/clientapi/reference/Xrm-Device/captureImage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ search.app:
2929

3030
| Parameter Name | Type | Required |Description |
3131
| ------------- |-------------| -----|-----|
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..|
3333
|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.|
3434
|errorCallback |Function | Yes|A function to call when the operation fails. |
3535

0 commit comments

Comments
 (0)