UtilIconLibGetIconLayers Method
Gets the image layers contained inside a icon file.
Namespace: DevCase.ThirdParty.IconLibAssembly: 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 GetIconLayers(
string iconfile
)
Public Shared Function GetIconLayers (
iconfile As String
) As SingleIcon
Dim iconfile As String
Dim returnValue As SingleIcon
returnValue = UtilIconLib.GetIconLayers(iconfile)
public:
static SingleIcon^ GetIconLayers(
String^ iconfile
)
static member GetIconLayers :
iconfile : string -> SingleIcon
No code example is currently available or this language may not be supported.
- iconfile String
-
The source icon filepath.
SingleIcon
The resulting
SingleIcon.
This is a code example.
No code example is currently available or this language may not be supported.
For Each iconLayer As IconLib.IconImage In GetIconLayers("C:\Image.ico")
PictureBox1.BackgroundImage = iconLayer.Icon.ToBitmap()
Debug.WriteLine(iconLayer.Icon.Size.ToString())
Application.DoEvents()
Threading.Thread.Sleep(750)
Next iconLayer
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.