> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Object Collection

> Parameters for configuring Object Collection elements in FlexiLayout, including object Type, height and width bounds, WholeWordMode, and UseRawText.

| Parameter                       | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| :------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Void Type( ImageObjectType )`  | Sets the value of the Type parameter. If other object types were specified in the **What to search for** section in the **Properties** pane for the current element, they will be ignored after this function is called. **Example:** The code below sets a list of objects of type Barcode and pictures for the current Object Collection element. `Type: BarcodeObject + PictureObject;` which is the same as: `Type(BarcodeObject + PictureObject);` Calling this property will find all the objects of the Barcode and Picture type in the search area of the element. |
| `Void MinObjHeight( Distance )` | Sets the minimal height. You can use any units of measurement. **Example:** The code below sets the minimum height to 10mm: `MinObjHeight(10mm);`                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `Void MaxObjHeight( Distance )` | Sets the maximal height. You can use any units of measurement.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `Void MinObjWidth( Distance )`  | Sets the minimal width. You can use any units of measurement.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `Void MaxObjWidth( Distance )`  | Sets the maximal width. You can use any units of measurement.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `Void WholeWordMode( Logic )`   | This flag specifies whether only whole text objects should be considered as hypotheses. When set to `True`, hypotheses consisting of word parts are ignored. The flag is set to `False` by default. **Note:** Restrictions on the height and width of objects are applied to words if the flag is set to `True` and to characters if the flag is set to `False`.                                                                                                                                                                                                           |
| `Void UseRawText( Logic )`      | Enables the use in text searches of those unrecognized text-like objects that were assigned the type **Raw Objects** during pre-recognition. To enable this feature, call the method with parameter `True`. By default, only recognized text is used in text searches (i.e. the parameter is set to `False`).                                                                                                                                                                                                                                                              |
| `Void MaxXOutsidePart( Real )`  | Specifies the part of the object that may extend beyond the search area horizontally. The part of the character is specified by a number from 0 to 1. Those objects are included in the hypothesis that have the specified or smaller part outside the search area.                                                                                                                                                                                                                                                                                                        |
| `Void MaxYOutsidePart( Real )`  | Specifies the part of the object that may extend beyond the search area vertically. The part of the character is specified by a number from 0 to 1. Those objects are included in the hypothesis that have the specified or smaller part outside the search area.                                                                                                                                                                                                                                                                                                          |
