Package

## Object ImageCaptureScenario.DocumentSize.Companion

-     public class ImageCaptureScenario.DocumentSize.Companion

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `private final ImageCaptureScenario.DocumentSize` | `ANY` |
    `private final ImageCaptureScenario.DocumentSize` | `A4` |
    `private final ImageCaptureScenario.DocumentSize` | `LETTER` |
    `private final ImageCaptureScenario.DocumentSize` | `BUSINESS_CARD` |
    `public final static ImageCaptureScenario.DocumentSize.Companion` | `INSTANCE` |

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `final ImageCaptureScenario.DocumentSize` | `getANY()` | The captured document can have any size.
    `final ImageCaptureScenario.DocumentSize` | `getA4()` | Document size is 210x297 millimeters.
    `final ImageCaptureScenario.DocumentSize` | `getLETTER()` | Document size is 215.9x279.
    `final ImageCaptureScenario.DocumentSize` | `getBUSINESS_CARD()` | Document size is 53.98x85.6 millimeters.

    - ### Methods inherited from class com.abbyy.mobile.uicomponents.scenario.ImageCaptureScenario.DocumentSize.Companion

      `equals, hashCode, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getANY

           final ImageCaptureScenario.DocumentSize getANY()

      The captured document can have any size.

    - #### getA4

           final ImageCaptureScenario.DocumentSize getA4()

      Document size is 210x297 millimeters.

    - #### getLETTER

           final ImageCaptureScenario.DocumentSize getLETTER()

      Document size is 215.9x279.4 millimeters

    - #### getBUSINESS_CARD

           final ImageCaptureScenario.DocumentSize getBUSINESS_CARD()

      Document size is 53.98x85.6 millimeters.

      Note: It is recommended to define aspect ratio using setAspectRatioMin and setAspectRatioMax methods for business cards capture. Otherwise only business cards with 53.98x85.6 aspect ratio will be captured.