Type
enum LayoutControls
Description
Controls computation of page layout. Values are:
0 – SuppressLayout
1 – AllowLayout
Example
REM Suppress layout re-computation (remember to restore!):
WebsterPro1.AnimationControl = SuppressLayout
Remarks
This property is runtime-only and is not serialized.
In most situations, the default setting (AllowLayout) will result in the fastest possible display of page content while minimizing refresh flicker.
A container may set LayoutControl to SuppressLayout while a page load is in progress and then trigger a layout computation by setting it to AllowLayout once all the page text is received. This may be useful in situations where the control is not visible and load speed is more important than rendering optimization.
Note that layout must be computed at least once before the FindString method or any of the selection methods (SelectText etc.) can be meaningfully used, because these only operate on text processed by the layout operation.
Transition from a SuppressLayout to AllowLayout triggers an immediate layout re-computation.