Description

Initializes a new instance of the Icon class and attempts to find a version of the icon that matches the requested size.

Syntax

object.Icon( filename, width, height )

Parameters

filename
A string expression that evaluates to the the fully qualified path of an ICO file.
width
Optional. A numeric expression specifying the width of the new icon.
height
Optional. A numeric expression specifying the height of the new icon.

Return Value

An Icon object.

Example

$Icon = $System.Icon( "myicon.ico" )

See Also

Applies To: System


The CHM file was converted to HTML by chm2web software.