Home > Language Reference > Classes > Display
BatchLimit Property
Size of the graphics instruction buffer.
Syntax
Public property Get BatchLimit() As Integer
Public property Let BatchLimit(ByVal iLimit As Integer)
| Parameter | Description |
| iLimit | New size of the instruction queue. |
Remarks
The BatchLimit property defines the size of the graphics instruction queue. By default, its size is 8. A smaller size takes up less memory but offers lower performance, whilst a larger size improves the performance of programs that use graphics intensively.
The maximum value of this property is 256. Attempting to set its value higher than this limit causes a runtime error.
When you write to this property, the graphics instruction buffer is emptied by an implicit call to the Flush method.
Note: objects derived from the Control class share their graphics instruction buffer with the Form object on which they are placed. Refer to the Display object introduction page for more information.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | N/A |