UtilIconLibCreateIcon Method

Creates a icon object from the specified image file.

Definition

Namespace: DevCase.ThirdParty.IconLib
Assembly: DevCase.net48.ThirdParty.IconLib (in DevCase.net48.ThirdParty.IconLib.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static SingleIcon CreateIcon(
	string filepath,
	IconOutputFormat format = 127
)

Parameters

filepath  String
The source image filepath.
format  IconOutputFormat  (Optional)
The icon format.

Return Value

SingleIcon
The resulting SingleIcon.

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:

WinCopies.IconLib by IconLib

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also