IconExtensionsGetIconInfo Method (Icon, Int32)

KGy SOFT Drawing Libraries Help
Gets an IconInfo instance containing information about an Icon image of the specified index.

Namespace:  KGySoft.Drawing
Assembly:  KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 5.3.0
Syntax

public static IconInfo GetIconInfo(
	this Icon icon,
	int index
)

Parameters

icon
Type: System.DrawingIcon
The icon.
index
Type: SystemInt32
The index of the icon image to obtain information for.

Return Value

Type: 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

Reference