##### VideoPortCount

##### Applies to

TDirectDraw2

##### Declaration

property VideoPortCount: Integer;

##### Description

Use VideoPortCount when iterating over all the video ports of this object. The video ports of this object are listed in the VideoPorts property array.
VideoPortCount is a read-only property.

##### Note

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