IconExtensionsCombine(Icon, IEnumerableIcon) Method
Combines an
Icon instance with the provided
icons into a multi-resolution
Icon instance.
Namespace: KGySoft.DrawingAssembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 7.1.0
public static Icon Combine(
this Icon icon,
IEnumerable<Icon>? icons
)
<ExtensionAttribute>
Public Shared Function Combine (
icon As Icon,
icons As IEnumerable(Of Icon)
) As Icon
public:
[ExtensionAttribute]
static Icon^ Combine(
Icon^ icon,
IEnumerable<Icon^>^ icons
)
[<ExtensionAttribute>]
static member Combine :
icon : Icon *
icons : IEnumerable<Icon> -> Icon
- icon Icon
- The icon to combine with other icons.
- icons IEnumerableIcon
- The icons to be combined with the specified icon.
IconAn
Icon instance that contains every image of the source
icons.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).
Both icon and elements of icons may contain multiple icons.
The result Icon is compatible with Windows XP if the method is executed in a Windows XP environment.