Skip to main content

display.layoutMode

since 0.9.6

Description​

AlphaTab has various layout engines that arrange the rendered bars differently. This setting controls which layout mode is used.

display.layoutModeJavaScript
layoutModeJavaScript
display.layoutModeJSON
layoutModeJSON
data-display-layoutmodeHTML
data-layoutmodeHTML
Display.LayoutMode.net
display.layoutModeAndroid

Types​

TypeValues
alphaTab.LayoutModeJavaScript

Page - The bars are aligned in a page-style fashion
Horizontal - The bars are aligned in a left-to-right

stringJSON, JavaScript & HTML

page
horizontal

intJSON, JavaScript & HTML

0 - Page
1 - Horizontal

AlphaTab.LayoutMode.net

Page
Horizontal

alphaTab.LayoutModeAndroid

Page
Horizontal

Default Value​

page