IconExtensionsToMultiResBitmap(Icon, Boolean) Method
Note: This API is now obsolete.
Converts the
icon to a
Bitmap instance, which contains every image of the
icon.
When the returned
Bitmap is used to create another
Bitmap or is drawn into a
Graphics, the best-fitting image is automatically applied.
Namespace: KGySoft.DrawingAssembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 10.1.0
[ObsoleteAttribute("This overload is now obsolete because the forceUncompressedResult parameter is not used anymore in this method.")]
public static Bitmap ToMultiResBitmap(
this Icon icon,
bool forceUncompressedResult
)
<ExtensionAttribute>
<ObsoleteAttribute("This overload is now obsolete because the forceUncompressedResult parameter is not used anymore in this method.")>
Public Shared Function ToMultiResBitmap (
icon As Icon,
forceUncompressedResult As Boolean
) As Bitmap
public:
[ExtensionAttribute]
[ObsoleteAttribute(L"This overload is now obsolete because the forceUncompressedResult parameter is not used anymore in this method.")]
static Bitmap^ ToMultiResBitmap(
Icon^ icon,
bool forceUncompressedResult
)
[<ExtensionAttribute>]
[<ObsoleteAttribute("This overload is now obsolete because the forceUncompressedResult parameter is not used anymore in this method.")>]
static member ToMultiResBitmap :
icon : Icon *
forceUncompressedResult : bool -> Bitmap
- icon Icon
- The icon to convert to a multi-resolution Bitmap.
- forceUncompressedResult Boolean
- This parameter is ignored.
BitmapA
Bitmap instance, which contains every image of the
icon.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).