![]() |
![]() |
![]() |
Viewport.Height Property |
Language: |
Retrieves or sets the height dimension of the viewport on the render target surface, in pixels.
Visual Basic .NET Public Property Height As Integer C# public int Height { get; set; } Managed C++ public: __property int get_Height();
public: __property void set_Height(int);JScript .NET public function get Height() : int
public function set Height(int);
System.Int32 . Integer that represents the height of the viewport to set or retrieve.
This property is read/write.
Unless rendering is being done only to a subset of the surface, this member should be set to the height dimension of the render target surface.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center