TIvoryDraw::UserBackSurface

UserBackSurface is a pointer to a special TIvorySurface that can be used as a backbuffer surface.

__property TCustomIvorySurface* UserBackSurface;

Description

UserBackSurface is a published property, so you can assign a surface to it in the object inspector. It doesn't mean that you must create and assign a backbuffer surface on your own. If you leave this property empty (NULL), Ivory Draw will create the backbuffer surface automatically. In this case, you can't manipulate the properties for the backbuffer surface from the object inspector.

It is usually a good practice to drop down a TIvorySurface component by the TIvoryDraw and to assign the surface to the UserBackSurface property. The advantage of the technique is that you can manupulate the properties for the backbuffer surface from the object inspector.

Note that the AutoCreate, Height, and Width properties for the backbuffer surface are not meaningful. No matter how you set them, Ivory Draw will automatically create the backbuffer surface, and the size of the backbuffer surface will always be the same as the screen resolution.

Back to TIvoryDraw