Image.importIcon Method [AX 2012]

Retrieves a handle to an icon from an executable file in Microsoft Dynamics AX. The icon is specified by the fileName and iconIdx parameters.

public int importIcon(str fileName, int iconIdx)

Run On

Client

Parameters

fileName
Type: str
The file name and location.
iconIdx
Type: int
The resource within the specified file.

Return Value

Type: int
0 indicates success; otherwise, failure.

Community Additions

ADD
Show: