renderScore
Description​
Initiates a rendering of the given score.
- JavaScript
- C#
- Kotlin
Parameter | Summary |
---|---|
scoreAll | The score containing the tracks to be rendered. |
trackIndexesAll | The indexes of the tracks from the song that should be rendered. If not provided, the first track of the song will be shown. |
Examples​
- JavaScript
- C#
- Android
const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.RenderScore(generateScore(),[ 2, 3 ]);
var api = new AlphaTabApi<MyControl>(...);
api.RenderScore(GenerateScore(), new double[] { 2, 3 });
val api = AlphaTabApi<MyControl>(...)
api.renderScore(generateScore(), alphaTab.collections.DoubleList(2, 3));