The EaxAdjustMode enumeration contains modes of autofitting cell sizes.
This enumeration is used by the following methods and properties:
Value | Brief description |
0 | None. No autofit. |
1 | ColumnsThenRows. First columns then rows. |
2 | RowsThenColumns. First rows, then columns. |
3 | Columns. Only columns. |
4 | Rows. Only rows. |
5 | Auto. Autofit cell size. |
6 | Simple. Cell width and height and visible data are adjusted at the same time. |
Examples of autofit cell size options:
No autofit:
First columns, then rows:
First rows, then columns:
Columns only:
Rows only:
Auto. Maximum lines in a cell: 3; minimum columns in the data area: 2:
Mode parameters are to be set using the IEaxGridAdjustSettings.MaxRowsInCell and IEaxGridAdjustSettings.MinVisibleDataColumns properties.
Simultaneous autofit:
See also: