Viewport Members

Include Protected Members
Include Inherited Members

Include .NET Framework Members

Include .NET Compact Framework Members
Include XNA Framework Members

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Defines the window dimensions of a render target surface onto which a 3-D volume projects.

The Viewport type exposes the following members.

Methods

  Name Description
Public methodSupported by the .NET Compact Framework Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Protected methodSupported by the .NET Compact Framework Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by the .NET Compact Framework GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public methodSupported by the .NET Compact Framework GetType Gets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by the .NET Compact Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by the .NET Compact Framework ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public propertySupported by the .NET Compact Framework Height Gets or sets the height dimension of the Viewport on the render target surface, in pixels.
Public propertySupported by the .NET Compact Framework MaxZ Gets or sets the maximum value of the clip volume.
Public propertySupported by the .NET Compact Framework MinZ Gets or sets the minimum value of the clip volume.
Public propertySupported by the .NET Compact Framework Width Gets or sets the width dimension of the Viewport on the render target surface, in pixels.
Public propertySupported by the .NET Compact Framework X Gets or sets the pixel coordinates of the upper-left corner of the viewport on the render target surface.
Public propertySupported by the .NET Compact Framework Y Gets or sets the pixel coordinate of the upper-left corner of the viewport on the render target surface.

Top

See Also

Reference

Viewport Structure

Microsoft.WindowsMobile.DirectX.Direct3D Namespace