Printer Friendly Version      Send     
Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 1.1
.NET Framework
Reference
System.Drawing
SizeF Structure
This page is specific to
Microsoft Visual Studio 2003/.NET Framework 1.1

Other versions are also available for the following:
.NET Framework Class Library
SizeF Structure

Stores an ordered pair of floating-point numbers, typically the width and height of a rectangle.

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

System.Object
   System.ValueType
      System.Drawing.SizeF

[Visual Basic]
<Serializable>
<ComVisible(True)>
Public Structure SizeF
[C#]
[Serializable]
[ComVisible(true)]
public struct SizeF
[C++]
[Serializable]
[ComVisible(true)]
public __value struct SizeF

[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.

Requirements

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

SizeF Members | System.Drawing Namespace

© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker