IconsCombine(Boolean, Bitmap) Method
Combines the provided
images into a multi-resolution
Icon instance.
Namespace: KGySoft.DrawingAssembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 9.0.0
public static Icon? Combine(
bool forceUncompressedResult,
params Bitmap[]? images
)
Public Shared Function Combine (
forceUncompressedResult As Boolean,
ParamArray images As Bitmap()
) As Icon
public:
static Icon^ Combine(
bool forceUncompressedResult,
... array<Bitmap^>^ images
)
static member Combine :
forceUncompressedResult : bool *
images : Bitmap[] -> Icon
- forceUncompressedResult Boolean
- to force returning an uncompressed icon;
to allow PNG compression, which is supported by Windows Vista and above.
- images Bitmap
- The images to be added to the result icon. Images can be non-squared ones.
Transparency is determined automatically by image format.
IconAn
Icon instance that contains every image of the source
images.
The elements of images may contain multiple icons.