Section Scores
Score utility functions
- See
- Score
Summary
Return type | Function and summary |
---|---|
DeleteReservedPages(Score score) Delete reserved pages from a score, if any, and move or delete the free objects visible on the reserved pages. | |
InsertReservedPages(Score score) Insert reserved pages, after the already existing if any) and shift the free objects to next pages. | |
int | LoadScoreAppearance(Score score, string setName) Load score appearance settings from a file saved by SaveScoreAppearance(...) . |
SaveScoreAppearance(Score score, string setName, boolean full) Save score appearance settings in a file. |
Functions
SaveScoreAppearance(Score score, string setName, boolean full)
Save score appearance settings in a file.
Harmony Assistant only allow to save one default set, but you may need several sets, for solo parts, for conductor...
Parameter | Type | Default | Description |
---|---|---|---|
score | Score | score | |
setName | string | Setting name, e.g. "conductor", "drums" | |
full | boolean | true to save all settings, false to save only those that differs from factory settings. |
LoadScoreAppearance(Score score, string setName)
Load score appearance settings from a file saved by SaveScoreAppearance(...)
.
Harmony Assistant only allow to save one default set, but you may need several sets, for solo parts, for conductor...
Only the settings read from the file are modified, missing settings are untouched.
Parameter | Type | Default | Description |
---|---|---|---|
score | Score | score | |
setName | string | Setting name, e.g. "conductor", "drums" |
- Return
- int: Number of modified settings
InsertReservedPages(Score score)
Insert reserved pages, after the already existing if any) and shift the free objects to next pages.
e.g.: A free object is on page 2 of a score without any reserved pages, after insertion of 1 reserved page, the free object will move to page 3.
Parameter | Type | Default | Description |
---|---|---|---|
score | Score | score |
DeleteReservedPages(Score score)
Delete reserved pages from a score, if any, and move or delete the free objects visible on the reserved pages.
- A free object is on the 2nd page of the score, but page 3 as the score has 1 reserved page: the object will move to page 2 to stay on 2nd score page.
- Free objects visible only on reserved pages are deleted.
Parameter | Type | Default | Description |
---|---|---|---|
score | Score | score |