Click or drag to resize

IconUtilitiesSaveAsDll Method (Stream, String, Int32, Int32, Boolean)

Writes a stream that points to an Icon binary format (possibly containing multiple sizes) into a Win32 resource-only .DLL file. The output format is always PNG / ARGB (32-bit).

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static void SaveAsDll(
	Stream iconStream,
	string filePath,
	int resourceId,
	int language,
	bool deleteExisting
)

Parameters

iconStream
Type: System.IOStream
The input stream.
filePath
Type: SystemString
The target .DLL file path.
resourceId
Type: SystemInt32
The Win32 resource identifier.
language
Type: SystemInt32
The language. Use 1033 for en-US.
deleteExisting
Type: SystemBoolean
If set to true the target.DLL path will always be overwritten; otherwise, existing icons will be preserved.
See Also