IconExtensions.Combine Method (Icon, Icon[])

KGy SOFT Drawing Libraries

IconExtensionsCombine Method (Icon, Icon) KGy SOFT Drawing Libraries Help
Combines an Icon instance with the provided icons into a multi-resolution Icon instance.

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

public static Icon Combine(
	this Icon icon,
	params Icon[] icons
)
<ExtensionAttribute>
Public Shared Function Combine ( 
	icon As Icon,
	ParamArray icons As Icon()
) As Icon
public:
[ExtensionAttribute]
static Icon^ Combine(
	Icon^ icon, 
	... array<Icon^>^ icons
)
[<ExtensionAttribute>]
static member Combine : 
        icon : Icon * 
        icons : Icon[] -> Icon 

Parameters

icon
Type: System.DrawingIcon
The icon to combine with other icons.
icons
Type: System.DrawingIcon
The icons to be combined with the specified icon.

Return Value

Type: Icon
An Icon instance that contains every image of the source icons.

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).
Remarks

Both icon and elements of icons may contain multiple icons.
See Also

Reference