GetEndStyle
获取线条终点样式。
语法
expression.GetEndStyle();
expression - 表示 ApiLineAnnotation 类的变量。
参数
此方法没有任何参数。
返回值
示例
此示例获取线条注释的终点线条样式。
let doc = Api.GetDocument();
let lineAnnot = Api.CreateLineAnnot([10, 10, 160, 32], {x: 15, y: 15}, {x: 155, y: 30});
let page = doc.GetPage(0);
page.AddObject(lineAnnot);
console.log(`End style is: ${lineAnnot.GetEndStyle()}`);