• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

how to set dash size and gap size in Indd CS6 js

Participant ,
May 03, 2017 May 03, 2017

Copy link to clipboard

Copied

Hi,

How can I set dash size and gap size in Indd CS6 js

var myDieLineGreen = myDoc.pages[0].graphicLines.add (myDoc.layers.item ("Die"));

myDieLineGreen.geometricBounds = ["-0.125 in", myPageWidth/2-.974, "0.553 in", myPageWidth/2-.418];

myDieLineGreen.strokeColor = myDoc.colors.item("red");

myDieLineGreen.strokeWeight = "1pt";

myDieLineGreen.strokeType = "Dashed";

Thank you.

Yulia

TOPICS
Scripting

Views

361

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Enthusiast , May 03, 2017 May 03, 2017

try this,

myDieLineGreen.strokeDashAndGap = [10];

Votes

Translate

Translate
Enthusiast ,
May 03, 2017 May 03, 2017

Copy link to clipboard

Copied

try this,

myDieLineGreen.strokeDashAndGap = [10];

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 04, 2017 May 04, 2017

Copy link to clipboard

Copied

LATEST

Yes, thank you

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines