##### SurfaceCount

##### Applies to

TDirectDraw

##### Declaration

property SurfaceCount: Integer;

##### Description

Use SurfaceCount when iterating over all the surfaces of this object. The surfaces of this object are listed in the Surfaces property array.
SurfaceCount is a read-only property.

##### Note

The value of SurfaceCount is always 1 greater than the highest Surfaces index, because the first Surfaces index is 0.