Recreates an off-screen surface.
Form 1:
void __fastcall Recreate(int width, int height);
Form 2:
void __fastcall Recreate(int width, int height, bool transparent, int color = 0);
Description
Use Recreate to recreate an off-screen surface.
Use Form 1 to delete the current surface and recreate it
with new width and height properties. Use Form 2 to delete the current surface and
recreate it with new width, height, transparent, and transparent color properties.
Note that after recreating a surface, an OnSurfaceLost
event will occur first in the surface component, then in the TIvoryDraw component.