RasterStatus.ScanLine Property (Microsoft.DirectX.Direct3D)

Retrieves or sets a value that roughly corresponds to the current scan line painted by the raster.

Definition

Visual Basic Public Property ScanLine As Integer
C# public int ScanLine { get; set; }
C++ public:
property int ScanLine {
        int get();
        void set(int value);
}
JScript public function get ScanLine() : int
public function set ScanLine(int);

Property Value

System.Int32
Integer that roughly corresponds to the current scan line to set or retrieve.

This property is read/write. 

Remarks

If InVBlank is false, this property's value is an integer that roughly corresponds to the current scan line painted by the raster. Scan lines are numbered in the same way as Microsoft Direct3D surface coordinates: 0 is the top of the primary surface, extending to the value (height of the surface - 1) at the bottom of the display.

If InVBlank is true, this value is set to 0 and can be ignored.