<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Jari,<br>
<br>
it seems that it is not possible to change the LineSpacingIsPercent
value in FCTextBlock - neither as a property nor as a method. That
makes the workaround for my last mail invalid
("FCTextExpressionDef:DeepSaveAs deletes FCTextBlock properties").<br>
I get the same problem when I use SaveNew() or DeepSaveAs(...)
instead of Save().<br>
<br>
<b>Code snippet:</b><br>
local te=finale.FCTextExpressionDef()<br>
te:Load(1) --load text expression 1<br>
local tbl=finale.FCTextBlock()<br>
tbl:Load(te:GetTextID())<br>
print("First Value",tbl.LineSpacingIsPercent) --usually it is true
by default<br>
--tbl.LineSpacingIsPercent=false --change value to false, property
change<br>
tbl:SetLineSpacingIsPercent(false) --change value to false, method
change<br>
tbl:Save()<br>
print("After Save",tbl.LineSpacingIsPercent) --shows false<br>
tbl:Reload()<br>
print("After Reload",tbl.LineSpacingIsPercent) --shows true<br>
<br>
Running [Unnamed Script] ======><br>
First Value true<br>
After Save false<br>
After Reload true<br>
<======= [Unnamed Script] succeeded (Processing time: 0.006 s).<br>
<br>
Best,<br>
Jan<br>
</body>
</html>