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

Selection of a frame or inverse selection

Engaged ,
Jul 10, 2019 Jul 10, 2019

Copy link to clipboard

Copied

Hi,

I need to select the boundary around my image.

I select an inner rectangle using:

    var shapeRef = [ [dxy,dxy], [dxy,imgHeight+dxy], [imgWidth+dxy,imgHeight+dxy], [imgWidth+dxy,dxy] ];

    docRef.selection.select(shapeRef);

Where dxy is the thickness of y boundary.

How do i inverse this selection, or instead select the boundary in the first place?

TOPICS
Actions and scripting

Views

468

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

Community Expert , Jul 10, 2019 Jul 10, 2019

docRef.selection.invert()

Votes

Translate

Translate
Adobe
People's Champ ,
Jul 10, 2019 Jul 10, 2019

Copy link to clipboard

Copied

Read about the methods available for "selection" (hint - look for a method starting with the letter "i").
You can also use the second argument for the "select" method.

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
Community Expert ,
Jul 10, 2019 Jul 10, 2019

Copy link to clipboard

Copied

LATEST

docRef.selection.invert()

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