NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Icon Constructor (Icon, Int32, Int32)

Duplicates the given icon, attempting to find a version of the icon that matches the requested size. If a version cannot be found that exactally matches the size, the closest match will be used. Note that if original is an icon with a single size, this will merely create a dupicate icon. You can use the stretching modes of drawImage to force the icon to the size you want.

[Visual Basic]
Overloads Public Sub New( _
   ByVal original As Icon, _
   ByVal width As Integer, _
   ByVal height As Integer _
)
[C#]
public Icon(
   Icon original,
   int width,
   int height
);
[C++]
public: Icon(
   Icon* original,
   int width,
   int height
);
[JScript]
public function Icon(
   original : Icon,
   width : int,
   height : int
);

Parameters

original
The icon to load the different size from.
width
The width of the new icon.
height
The height of the new icon.

See Also

Icon Class | Icon Members | System.Drawing Namespace | Icon Constructor Overload List