GameKit.Leaderboard.Image
-------------------------

Queries the image associated with the default leaderboard.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [GameKit](component_GameKit.md) | [8.5](newinversion85.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "GameKit.Leaderboard.Image"; LeaderboardIdentifier { ; FileName; Type } ) 

**MBS**( **"GameKit.Leaderboard.Image";** /\* Queries the image associated with the default leaderboard. \*/  
**$LeaderboardIdentifier**; /\* The identifier of the leaderboard. \*/   
**$FileName**; /\* Optional; For PDF or image files returned an optional file name.e.g. "test.jpg" \*/   
**$Type**) /\* Optional; For images the type you like to get.  
Can be JPEG, TIFF, PNG, GIF, BMP or PDF.e.g. "JPEG" \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| LeaderboardIdentifier | The identifier of the leaderboard. |  |  |
| FileName | For PDF or image files returned an optional file name. | "test.jpg" | Optional |
| Type | For images the type you like to get.   Can be JPEG, TIFF, PNG, GIF, BMP or PDF. | "JPEG" | Optional |

### Result

Returns image contajner or error.

### Description

Queries the image associated with the default leaderboard.  
### See also

- [GameKit.Leaderboard.GetRange](GameKitLeaderboardGetRange.md)
- [GameKit.Leaderboard.Loading](GameKitLeaderboardLoading.md)
- [GameKit.Leaderboard.MaxRange](GameKitLeaderboardMaxRange.md)
- [GameKit.Leaderboard.New](GameKitLeaderboardNew.md)
- [GameKit.Leaderboard.Scores](GameKitLeaderboardScores.md)
- [GameKit.Leaderboard.SetRange](GameKitLeaderboardSetRange.md)
- [GameKit.Leaderboard.Title](GameKitLeaderboardTitle.md)
- [GameKit.LeaderboardSet.Image](GameKitLeaderboardSetImage.md)
- [GameKit.LeaderboardSet.Title](GameKitLeaderboardSetTitle.md)

This function is free to use.

Created 5th November 2018 , last changed 8th November 2018

  
[GameKit.Leaderboard.GroupIdentifier](GameKitLeaderboardGroupIdentifier.md) - [GameKit.Leaderboard.LoadScores](GameKitLeaderboardLoadScores.md)

[HTML Version](GameKitLeaderboardImage.shtml)