TrvActionInsertTable.BestWidth

<< Click to display table of contents >>

TrvActionInsertTable.BestWidth

Defines the table width.

property BestWidth: TRVHTMLLength;

This value is used:

as an initial value for initializing a table dialog (on the action execution),

directly (when ShowTableSizeDialog is called).

If the user chose to remember dimensions for new tables, value from the dialog is assigned to this property.

This property (or the value from the table dialog) is assigned to table.BestWidth property. 0 means a default width, negative values mean percent, positive values mean GetControlPanel.UnitsProgram.

If it is zero (i.e. a default table width), the action sets BestWidth properties of all table cells to positive values so that the table width does not exceed the current document width. Otherwise, BestWidth properties of all cells are 0.

Default value:

0