DrawBuffer property

Specifies the number of pixels set aside for off-screen memory in rendering a frame.

Syntax

object.DrawBuffer [= value ]

The DrawBuffer property syntax has these parts:

Part Description
object Required. A valid object name.
value An integer from 16,000 through 1,048,576 equal to the maximum number of pixels the object can render off-screen.

Remarks

The DrawBuffer property specifies the maximum number of pixels that can be drawn at one time as the display repaints. The actual memory used by the object depends upon the screen resolution of the display.

If you set a large value for DrawBuffer, performance will be slower. A large buffer only helps when several large images overlap. Use the Properties window to specify the value of DrawBuffer.

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.