Microsoft DirectX 9.0 SDK Update (October 2004)

Viewport.Y Property

Language:

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

Retrieves or sets the pixel coordinate of the upper-left corner of the viewport on the render target surface.

Definition

Visual Basic .NET Public Property Y As Integer
C# public int Y { get; set; }
Managed C++ public: __property int get_Y();
public: __property void set_Y(int);
JScript .NET public function get Y() : int
public function set Y(int);

Property Value

System.Int32 . Integer that represents the upper-left corner of the viewport to set or retrieve.

This property is read/write. 

Remarks

Unless rendering is being done only to a subset of the surface, this member can be set to 0.


© 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