Skip to main content

GroupIconResource Class

A subclass of Resource which provides specific methods for manipulating the resource data.

Methods

MethodDescription
ReadFromFile(path)Reads the icon group from a .ico file.

Properties

PropertyDescription
DataGets or sets the raw data of the resource. The data is in the format of the RT_GROUPICON resource structure.
IconsEnumerates the the icons in the icon group.

Remarks

The resource is of type «see P:WixToolset.Dtf.Resources.ResourceType.GroupIcon» (RT_GROUPICON). WixToolset.Dtf.Resources.dll version 5.0.1+2f00cbe680fb01ab485d56f16de9cd19b133f875

ReadFromFile(path) Method

Reads the icon group from a .ico file.

Declaration

public void ReadFromFile(
string path
)

Parameters

ParameterTypeDescription
pathstringPath to an icon file (.ico).

Data Property

Gets or sets the raw data of the resource. The data is in the format of the RT_GROUPICON resource structure.

Declaration

public System.Byte[] Data { get; set; } 

Icons Property

Enumerates the the icons in the icon group.

Declaration

public IEnumerable<WixToolset.Dtf.Resources.Resource> Icons { get; set; }