OrgAppInfo::GetIconPath

 

Version

Minimum Origin Version Required: Origin 2017 SR0

Description

Get the path to the installed app's icon file.

Syntax

string GetIconPath( BOOL bLarge = TRUE )

Parameters

bLarge
return large icon file if set as TRUE, otherwise return the small icon file.

Return

The path of the installed app's icon file.

Examples

void OrgApps_GetIconPath_ex1()
{
    foreach(OrgAppInfo app in OrgApps.InstalledApps)
    {
        if (app.ID <= 0)
            continue;
        printf("[ID: %d]\r\n", app.ID);
        printf("  Name: %s\r\n", app.Name);
        printf("  Icon Path: %s\r\n", app.GetIconPath());
    }
}

Remark

See Also

header to Included

origin.h