# Options Structure Reference



## Scope and provenance

- Product: mobile
- Status: Imported reference snapshot. Import date is not a verification date or guarantee of current release support.
- SDK version: Not declared for this page. Versions in examples must not be assumed current.
- Environment: Page-specific. Confirm the environment host, credentials, and service configuration; do not infer them from another product.
- Source: https://documentation.idmission.com/identity/iOS-SDK-2/Classes/DocumentCapture/Options.html
- Imported at: 2026-10-21T17:27:02.187Z
- Canonical page: https://docs.idmission.com/mobile/reference/ios/Classes/DocumentCapture/Options
- Agent index: https://docs.idmission.com/llms.txt

---

<a id="options"></a>

# Options

```
struct Options
```

Document capture options.

- <a id="/s:17IDentitySDK_Swift15DocumentCaptureC7OptionsV28lowerWidthThresholdToleranceSfvp"></a>

  <a id="//apple_ref/swift/Property/lowerWidthThresholdTolerance"></a>

  `lowerWidthThresholdTolerance`

  Lower document capture rectangle width threshold tolerance percentage, represented as a value between `0.0` and `1.0`. Default is `0.2`.

  A lower width threshold tolerance of `0.2` (20%) means that a scanned ID must fall within (100 - 20) = 80% of the capture overlay rectangle width.

  <a id="declaration"></a>

  #### Declaration

  Swift

  ```
  public var lowerWidthThresholdTolerance: Float
  ```

- <a id="/s:17IDentitySDK_Swift15DocumentCaptureC7OptionsV28upperWidthThresholdToleranceSfvp"></a>

  <a id="//apple_ref/swift/Property/upperWidthThresholdTolerance"></a>

  `upperWidthThresholdTolerance`

  Upper ID capture rectangle width threshold tolerance percentage, represented as a value between `0.0` and `1.0`. Default is `0.05`.

  An upper width threshold tolerance of `0.05` (5%) means that a scanned ID must fall within (100 + 5) = 105% of the capture overlay rectangle width.

  <a id="declaration-2"></a>

  #### Declaration

  Swift

  ```
  public var upperWidthThresholdTolerance: Float
  ```

- <a id="/s:17IDentitySDK_Swift15DocumentCaptureC7OptionsV11isDebugModeSbvp"></a>

  <a id="//apple_ref/swift/Property/isDebugMode"></a>

  `isDebugMode`

  Whether or not to display debug information during capture. Default is `false`.

  <a id="declaration-3"></a>

  #### Declaration

  Swift

  ```
  public var isDebugMode: Bool
  ```

- <a id="/s:17IDentitySDK_Swift15DocumentCaptureC7OptionsV9capture4KSbvp"></a>

  <a id="//apple_ref/swift/Property/capture4K"></a>

  `capture4K`

  Whether or not to always try to capture in 4K. Default is `false`.

  <a id="declaration-4"></a>

  #### Declaration

  Swift

  ```
  public var capture4K: Bool
  ```

- <a id="/s:17IDentitySDK_Swift15DocumentCaptureC7OptionsV23enableInstructionScreenSbvp"></a>

  <a id="//apple_ref/swift/Property/enableInstructionScreen"></a>

  `enableInstructionScreen`

  Whether or not to display an instruction screen to the user before initiating capture. Default is `true`.

  <a id="declaration-5"></a>

  #### Declaration

  Swift

  ```
  public var enableInstructionScreen: Bool
  ```

- <a id="/s:17IDentitySDK_Swift15DocumentCaptureC7OptionsV35instructionScreenBackButtonIsHiddenSbvp"></a>

  <a id="//apple_ref/swift/Property/instructionScreenBackButtonIsHidden"></a>

  `instructionScreenBackButtonIsHidden`

  Whether or not to display an instruction screen close button to the user. Default is `false`.

  <a id="declaration-6"></a>

  #### Declaration

  Swift

  ```
  public var instructionScreenBackButtonIsHidden: Bool
  ```

- <a id="/s:17IDentitySDK_Swift15DocumentCaptureC7OptionsV30cameraScreenBackButtonIsHiddenSbvp"></a>

  <a id="//apple_ref/swift/Property/cameraScreenBackButtonIsHidden"></a>

  `cameraScreenBackButtonIsHidden`

  Whether or not to display an camera screen close button to the user. Default is `false`.

  <a id="declaration-7"></a>

  #### Declaration

  Swift

  ```
  public var cameraScreenBackButtonIsHidden: Bool
  ```

- <a id="/s:17IDentitySDK_Swift15DocumentCaptureC7OptionsV08documentE10FrameWidthSfSgvp"></a>

  <a id="//apple_ref/swift/Property/documentCaptureFrameWidth"></a>

  `documentCaptureFrameWidth`

  Document capture rectangle width.

  <a id="declaration-8"></a>

  #### Declaration

  Swift

  ```
  public var documentCaptureFrameWidth: Float?
  ```

- <a id="/s:17IDentitySDK_Swift15DocumentCaptureC7OptionsV08documentE11FrameHeightSfSgvp"></a>

  <a id="//apple_ref/swift/Property/documentCaptureFrameHeight"></a>

  `documentCaptureFrameHeight`

  Document capture rectangle height.

  <a id="declaration-9"></a>

  #### Declaration

  Swift

  ```
  public var documentCaptureFrameHeight: Float?
  ```

- <a id="/s:17IDentitySDK_Swift15DocumentCaptureC7OptionsV21documentFileSizeLimitSfvp"></a>

  <a id="//apple_ref/swift/Property/documentFileSizeLimit"></a>

  `documentFileSizeLimit`

  Maximum additional document file size, in MB. Default is 2 MB.

  <a id="declaration-10"></a>

  #### Declaration

  Swift

  ```
  public var documentFileSizeLimit: Float
  ```

- <a id="/s:17IDentitySDK_Swift15DocumentCaptureC7OptionsV17showPreviewScreenSbvp"></a>

  <a id="//apple_ref/swift/Property/showPreviewScreen"></a>

  `showPreviewScreen`

  Whether or not to show IDCapture Preview Screen. Default is `true`

  <a id="declaration-11"></a>

  #### Declaration

  Swift

  ```
  public var showPreviewScreen: Bool
  ```

<a id="footer"></a>

© 2026 [IDmission](https://www.idmission.com/). All rights reserved. (Last updated: 2026-07-20)

Generated by [jazzy ♪♫ v0.15.3](https://github.com/realm/jazzy), a [Realm](https://realm.io/) project.
