站点首页 | 实用文章 | 考试相关 | 论文中心 | 故事小说 | 教程中心
热门文章
搜索
您现在的位置: hglm >> 教程中心 >> 图形图像 >> Director >> 教程正文
常用Lingo - 字段属性
t headline=lineHeight(menlber”News”,1)

linePosToLocV
语法: linePosToLocV(member whichCastMember, lineNumber)
用途: 此函数返回了字段中从顶部边缘到指定行的距离。
举例: set startOfString=1inePosToLocV(member,,News”,5)

1ocToCharPos
语法: 1ocToCharPos(member whichCastMember, 1ocation)
用途: 此函数返回在字段中距离指定的1ocation点最近的字符的序号,其中点的坐标是以字段的左上角为基准的。
举例: set n to locToCharPos(melnber"News",point( 100,1000))

1ocVToLinePos
语法: 1ocVToLinePos(member whichCastMember, 1ocV)
用途: 此函数返回距离字段顶部为1ocV的行数。
举例: put locVToLinePos(nleinber”News“, 150) into pageBreak

上一页  [1] [2] 

Copyright(c) hglm.com All rights reserved. 浙ICP备06001730号