[JW Lua] FCBaseline -> get VerticalOffset for a specific Lyric-number?
Bart Visser
bartvisser at me.com
Wed Apr 15 17:47:18 CEST 2015
Jari or others,
I'm trying to get/read the VerticalOffset for a specific Lyric-number with the FCBaseline-class. I'm only able to get the default value for the first baseline in the selected lyric-mode. Is it also possible to specify the lyric number to 'read' the VerticalOffset-value of?
This is my code:
local bl = finale.FCBaseline()
bl.Mode = 5
bl.LyricNumber = 3
bl:LoadDefaultForMode(finale.BASELINEMODE_LYRICSVERSE)
print(bl.Number) --> 1
print(bl.Mode) --> 5
print(bl.VerticalOffset) --> -144
Thanks,
Bart Visser
More information about the JWLua
mailing list