Image.importIcon Method

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

Syntax

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.

See Also

Image Class

Image.importFileIcon Method