Microsoft DirectX 9.0 SDK Update (October 2004)

RasterStatus.ScanLine Property

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public Property ScanLine As Integer
C# public int ScanLine { get; set; }
Managed C++ public: __property int get_ScanLine();
public: __property void set_ScanLine(int);
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center