| | | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 2 | | // Licensed under the MIT License. |
| | | 3 | | |
| | | 4 | | namespace Azure.AI.FormRecognizer |
| | | 5 | | { |
| | | 6 | | /// <summary> |
| | | 7 | | /// The set of options that can be specified when calling a recognize custom form method |
| | | 8 | | /// to configure the behavior of the request. |
| | | 9 | | /// </summary> |
| | | 10 | | public class RecognizeCustomFormsOptions |
| | | 11 | | { |
| | | 12 | | /// <summary> |
| | | 13 | | /// Initializes a new instance of the <see cref="RecognizeCustomFormsOptions"/> class. |
| | | 14 | | /// </summary> |
| | 124 | 15 | | public RecognizeCustomFormsOptions() |
| | | 16 | | { |
| | 124 | 17 | | } |
| | | 18 | | |
| | | 19 | | /// <summary> |
| | | 20 | | /// Whether or not to include form elements such as lines and words in addition to form fields. |
| | | 21 | | /// </summary> |
| | 172 | 22 | | public bool IncludeFieldElements { get; set; } = false; |
| | | 23 | | |
| | | 24 | | /// <summary> |
| | | 25 | | /// When set, specifies the content type for uploaded streams and skips automatic |
| | | 26 | | /// content type detection. |
| | | 27 | | /// </summary> |
| | 88 | 28 | | public FormContentType? ContentType { get; set; } = null; |
| | | 29 | | } |
| | | 30 | | } |