![]() |
![]() |
![]() |
RasterStatus.ScanLine Property |
Language: |
Retrieves or sets a value that roughly corresponds to the current scan line painted by the raster.
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);
System.Int32 . Integer that roughly corresponds to the current scan line to set or retrieve.
This property is read/write.
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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center