IconExtensionsGetIconInfo(Icon, Int32) Method

Gets an IconInfo instance containing information about an Icon image of the specified index.

Definition

Namespace: KGySoft.Drawing
Assembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 10.0.0-rc.1
C#
public static IconInfo GetIconInfo(
	this Icon icon,
	int index
)

Parameters

icon  Icon
The icon.
index  Int32
The index of the icon image to obtain information for.

Return Value

IconInfo
An IconInfo instance containing information about an Icon image of the specified index.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Icon. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also