alphaTab.model.RenderStylesheet
This class represents the rendering stylesheet. It contains settings which control the display of the score when rendered.
class RenderStylesheetPropertiesโ
barNumberDisplayโ
Use scoreConfig , tabConfig ,
slashConfig , or numberedConfig .barNumber for
per-staff-type control. The setter broadcasts to all four
staff-type entries.
How bar numbers should be displayed score-wide.
- JavaScript
- C#
- Kotlin
barNumberDisplay: BarNumberDisplay;BarNumberDisplay BarNumberDisplay { get; set; }var barNumberDisplay: BarNumberDisplaybracketExtendModeโ
The mode in which brackets and braces are drawn.
- JavaScript
- C#
- Kotlin
bracketExtendMode: BracketExtendMode;BracketExtendMode BracketExtendMode { get; set; }var bracketExtendMode: BracketExtendModeextendBarLinesโ
Whether barlines should be drawn across staves within the same system.
- JavaScript
- C#
- Kotlin
extendBarLines: boolean;bool ExtendBarLines { get; set; }var extendBarLines: BooleanfirstSystemTrackNameModeโ
The mode what text to display for the track name on the first system
- JavaScript
- C#
- Kotlin
firstSystemTrackNameMode: TrackNameMode;TrackNameMode FirstSystemTrackNameMode { get; set; }var firstSystemTrackNameMode: TrackNameModefirstSystemTrackNameOrientationโ
The orientation of the the track names on the first system
- JavaScript
- C#
- Kotlin
firstSystemTrackNameOrientation: TrackNameOrientation;TrackNameOrientation FirstSystemTrackNameOrientation { get; set; }var firstSystemTrackNameOrientation: TrackNameOrientationglobalDisplayChordDiagramsInScoreโ
Whether to show the chord diagrams in score.
- JavaScript
- C#
- Kotlin
globalDisplayChordDiagramsInScore: boolean;bool GlobalDisplayChordDiagramsInScore { get; set; }var globalDisplayChordDiagramsInScore: BooleanglobalDisplayChordDiagramsOnTopโ
Whether to show the chord diagrams on top.
- JavaScript
- C#
- Kotlin
globalDisplayChordDiagramsOnTop: boolean;bool GlobalDisplayChordDiagramsOnTop { get; set; }var globalDisplayChordDiagramsOnTop: BooleanglobalDisplayTuningโ
Whether to show the tuning.
- JavaScript
- C#
- Kotlin
globalDisplayTuning: boolean;bool GlobalDisplayTuning { get; set; }var globalDisplayTuning: BooleanhideDynamicsโ
Whether dynamics are hidden.
- JavaScript
- C#
- Kotlin
hideDynamics: boolean;bool HideDynamics { get; set; }var hideDynamics: BooleanhideEmptyStavesโ
Whether to hide empty staves.
- JavaScript
- C#
- Kotlin
hideEmptyStaves: boolean;bool HideEmptyStaves { get; set; }var hideEmptyStaves: BooleanhideEmptyStavesInFirstSystemโ
Whether to also hide empty staves in the first system. Only has an effect when activating hideEmptyStaves .
- JavaScript
- C#
- Kotlin
hideEmptyStavesInFirstSystem: boolean;bool HideEmptyStavesInFirstSystem { get; set; }var hideEmptyStavesInFirstSystem: BooleanmultiTrackMultiBarRestโ
If multi track: Whether to render multiple subsequent empty (or rest-only) bars together as multi-bar rest.
- JavaScript
- C#
- Kotlin
multiTrackMultiBarRest: boolean;bool MultiTrackMultiBarRest { get; set; }var multiTrackMultiBarRest: BooleanmultiTrackTrackNamePolicyโ
The policy where to show track names when a multiple tracks are rendered.
- JavaScript
- C#
- Kotlin
multiTrackTrackNamePolicy: TrackNamePolicy;TrackNamePolicy MultiTrackTrackNamePolicy { get; set; }var multiTrackTrackNamePolicy: TrackNamePolicynumberedConfigโ
Score-wide display configuration for the numbered (jianpu) staff.
- JavaScript
- C#
- Kotlin
numberedConfig: NumberedStaffConfig;NumberedStaffConfig NumberedConfig { get; set; }var numberedConfig: NumberedStaffConfigotherSystemsTrackNameModeโ
The mode what text to display for the track name on the first system
- JavaScript
- C#
- Kotlin
otherSystemsTrackNameMode: TrackNameMode;TrackNameMode OtherSystemsTrackNameMode { get; set; }var otherSystemsTrackNameMode: TrackNameModeotherSystemsTrackNameOrientationโ
The orientation of the the track names on other systems
- JavaScript
- C#
- Kotlin
otherSystemsTrackNameOrientation: TrackNameOrientation;TrackNameOrientation OtherSystemsTrackNameOrientation { get; set; }var otherSystemsTrackNameOrientation: TrackNameOrientationperTrackChordDiagramsOnTopโ
Whether to show the chord diagrams on top. (per-track)
- JavaScript
- C#
- Kotlin
perTrackChordDiagramsOnTop: Map<number, boolean> | null;Map<double, bool>? PerTrackChordDiagramsOnTop { get; set; }var perTrackChordDiagramsOnTop: alphaTab.collections.DoubleBooleanMap<Double, Boolean>?perTrackDisplayTuningโ
Whether to show the tuning.(per-track)
- JavaScript
- C#
- Kotlin
perTrackDisplayTuning: Map<number, boolean> | null;Map<double, bool>? PerTrackDisplayTuning { get; set; }var perTrackDisplayTuning: alphaTab.collections.DoubleBooleanMap<Double, Boolean>?perTrackMultiBarRestโ
If single track: Whether to render multiple subsequent empty (or rest-only) bars together as multi-bar rest.
- JavaScript
- C#
- Kotlin
perTrackMultiBarRest: Set<number> | null;Set<double>? PerTrackMultiBarRest { get; set; }var perTrackMultiBarRest: Set<Double>?scoreConfigโ
Score-wide display configuration for the standard-notation staff.
- JavaScript
- C#
- Kotlin
scoreConfig: ScoreStaffConfig;ScoreStaffConfig ScoreConfig { get; set; }var scoreConfig: ScoreStaffConfigshowSingleStaffBracketsโ
Whether to show brackets and braces across single staves. This allows a more consistent view for identifying staves when using
hideEmptyStaves
- JavaScript
- C#
- Kotlin
showSingleStaffBrackets: boolean;bool ShowSingleStaffBrackets { get; set; }var showSingleStaffBrackets: BooleansingleTrackTrackNamePolicyโ
The policy where to show track names when a single track is rendered.
- JavaScript
- C#
- Kotlin
singleTrackTrackNamePolicy: TrackNamePolicy;TrackNamePolicy SingleTrackTrackNamePolicy { get; set; }var singleTrackTrackNamePolicy: TrackNamePolicyslashConfigโ
Score-wide display configuration for the slash staff.
- JavaScript
- C#
- Kotlin
slashConfig: SlashStaffConfig;SlashStaffConfig SlashConfig { get; set; }var slashConfig: SlashStaffConfigtabConfigโ
Score-wide display configuration for the tablature staff.
- JavaScript
- C#
- Kotlin
tuningDisplayModeโ
The place where tuning information is displayed.
- JavaScript
- C#
- Kotlin
tuningDisplayMode: TuningDisplayMode;TuningDisplayMode TuningDisplayMode { get; set; }var tuningDisplayMode: TuningDisplayModeuseSystemSignSeparatorโ
Whether to draw the // sign to separate systems.
- JavaScript
- C#
- Kotlin
useSystemSignSeparator: boolean;bool UseSystemSignSeparator { get; set; }var useSystemSignSeparator: Boolean