iPhoneOSGameView.Size Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The size of the current view.
public System.Drawing.Size Size { get; set; }
member this.Size : System.Drawing.Size with get, set
Property Value
A Size which is the size of the current view.
Implements
Exceptions
The instance has had Dispose(Boolean) invoked on it.
Remarks
This differs from Bounds in that Size
's Width
and Height
are of type T:System.Int32, while Bound
's Width
and Height
are of type T:System.Single (i.e. integer vs. floating-point). OpenGL uses integral types, so Size
is a simple way to get sizes in a form usable by OpenGL.