![]() |
|
IconExtensionsCombine Method (Icon, Bitmap, Color) | KGy SOFT Drawing Libraries Help |
Namespace: KGySoft.Drawing
Assembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 4.6.0
Syntax
public static Icon Combine( this Icon icon, Bitmap image, Color transparentColor )
<ExtensionAttribute> Public Shared Function Combine ( icon As Icon, image As Bitmap, transparentColor As Color ) As Icon
public: [ExtensionAttribute] static Icon^ Combine( Icon^ icon, Bitmap^ image, Color transparentColor )
[<ExtensionAttribute>] static member Combine : icon : Icon * image : Bitmap * transparentColor : Color -> Icon
Parameters
- icon
- Type: System.DrawingIcon
The icon to combine with other images. - image
- Type: System.DrawingBitmap
The image to be added to the icon. Can be a non-squared one. - transparentColor
- Type: System.DrawingColor
A color that represents the transparent color in image.
Return Value
Type: IconAn Icon instance that contains the source image.
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
See Also