Copy link to clipboard
Copied
hi.. i've created a line in below statement, can anyone help to make it a 'dotted line' using JS?
var myLine = activeSpread.graphicLines.add();
Thanks much..
found the answer already.... ![]()
myLine.strokeType= "Dotted";
@
Copy link to clipboard
Copied
found the answer already.... ![]()
myLine.strokeType= "Dotted";
@
Copy link to clipboard
Copied
Hi eboda_snaf,
just a note on your found string:
With my German InDesign this string would not work.
Instead I'd use the internationally working string:
"$ID/Canned Dotted"
Regards,
Uwe
Copy link to clipboard
Copied
i see.. Thank you.
Copy link to clipboard
Copied
Here a list of all locale independent strings that should work for strokeType:
$ID/Solid
$ID/ThickThick
$ID/ThickThin
$ID/ThickThinThick
$ID/ThinThick
$ID/ThinThickThin
$ID/ThinThin
$ID/Triple_Stroke
$ID/White Diamond
$ID/Japanese Dots
$ID/Canned Dashed 3x2
$ID/Canned Dashed 4x4
$ID/Left Slant Hash
$ID/Straight Hash
$ID/Canned Dotted
$ID/Dashed
$ID/Wavy
$ID/Right Slant Hash
Regards,
Uwe
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more