This documentation is archived and is not being maintained.

Image.Size Property

Gets the width and height, in pixels, of this image.

[Visual Basic]
Public ReadOnly Property Size As Size
[C#]
public Size Size {get;}
[C++]
public: __property Size get_Size();
[JScript]
public function get Size() : Size;

Property Value

A Size structure that represents the width and height of this image.

Requirements

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

See Also

Image Class | Image Members | System.Drawing Namespace

Show: