GetStartStyle
Gets a line start style.
Syntax
expression.GetStartStyle();
expression - A variable that represents a ApiLineAnnotation class.
Parameters
This method doesn't have any parameters.
Returns
Example
Get start line style to line annotation in a PDF document.
// How can I get the start style using a line annotation in a PDF document?
// Get the start style for a line annotation in a PDF document.
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(`Start style is: ${lineAnnot.GetStartStyle()}`);