document.lineOptions
This property gives access to all line option attributes but it can not be used directly. It is assumed that myDoc has already been defined as a document and set as the activeDoc for the following examples.
document.lineOptions.lineCap
Returns and sets the line cap ends property as integer. Allowed values are 0 for “flat”, 1 for “round” and 2 for “square”.
myDoc.lineOptions.lineCap = 1
document.lineOptions.lineJoin
Returns and sets the line option corners property as integer. Allowed values are 0 for “mitered”, 1 for “rounded” and 2 for “bevel”.
myDoc.lineOptions.lineJoin = 2
document.lineOptions.miterLimit
Returns and sets the miter limit property as integer.
myDoc.lineOptions.miterLimit = 4
document.lineOptions.overPrint
Returns and sets the overprint property as integer. Allowed values are 0 for “none”, 1 for “stroke”, 2 for “fill” and 3 for “stroke and fill”.
myDoc.lineOptions.overPrint = 2