|   |   |   | 
| Viewport.X Property | Language: | 
Retrieves or sets the pixel coordinate of the upper-left corner of the viewport on the render target surface.
Visual Basic Public Property X As Integer C# public int X { get; set; } C++ public: 
property int X {
int get();
void set(int value);
}JScript public function get X() : int 
public function set X(int);
System.Int32
This property is read/write.
Integer that represents the upper-left corner of the viewport to set or retrieve.
Unless rendering is being done only to a subset of the surface, this member can be set to 0.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
        
          Feedback? Please provide us with your comments on this topic.
			
        
        
	   		For more help, visit the DirectX Developer Center