Size Structure

Size Structure

Stores an ordered pair of integers, typically the width and height of a rectangle.

For a list of all members of this type, see Size Members.


[Visual Basic]
Public Structure Size
public struct Size
public __value struct Size

[JScript] In JScript, you can use the structures in the .NET Framework, but you cannot define your own.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Namespace: System.Drawing

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: System.Drawing (in System.Drawing.dll)

See Also

Size Members | System.Drawing Namespace

© 2015 Microsoft