Icon Constructor (Icon^, Size)
.NET Framework (current version)
Initializes a new instance of the Icon class and attempts to find a version of the icon that matches the requested size.
Assembly: System.Drawing (in System.Drawing.dll)
Parameters
- original
-
Type:
System.Drawing::Icon^
The Icon from which to load the newly sized icon.
- size
-
Type:
System.Drawing::Size
A Size structure that specifies the height and width of the new Icon.
| Exception | Condition |
|---|---|
| ArgumentException | The original parameter is null. |
.NET Framework
Available since 1.1
Available since 1.1
Show: