Skip to main content
Known Participant
October 12, 2022
Question

How to identify empty space

  • October 12, 2022
  • 5 replies
  • 848 views

How to identify if there is an empty space around the textframe i:e(Top,Right,Bottom,Left) using script?

This topic has been closed for replies.

5 replies

Inspiring
October 25, 2022

"Copy" the frame and "Paste in place"
"Fit frame to content" in "Adjust size"
Looking at the difference between the original frame and the geometric bounds may help you understand the meaning of the space.

Inspiring
October 25, 2022

I may have misunderstood the sentence, I wondered if there was space around the text.

Community Expert
October 25, 2022

Hi @SA8888 ,

you need to write your own solution.

What I can think of is to export the page to PDF and render it with PhotoShop to do a selection with all pixels on the page. With that you can determine empty spaces.

 

Regards,
Uwe Laubender
( Adobe Community Expert )

Community Expert
October 24, 2022

Hi @SA8888 ,

empty space in regards to the page the text frame is positioned?

Or empty space in regards of the text the text frame contains?

 

Regards,
Uwe Laubender
( Adobe Community Expert )

SA8888Author
Known Participant
October 24, 2022

I want to check the empty space in regard to the page the text frame is positioned.

Community Expert
October 24, 2022

Ok. What do you like to do next when you checked the empty space?

Enlarge the text frame to fill the space?

 

Regards,
Uwe Laubender
( Adobe Community Expert )

Willi Adelberger
Community Expert
Community Expert
October 24, 2022

Work always with Object Styles, so you can temporarely add area or stroke color.

But if you did not work with dedicated Object Styles, you can change the stroke and area to all given default styles in [] to show them temporarel.

SA8888Author
Known Participant
October 12, 2022

Does anyone with a suggestion or is this possible to identify?

SA8888Author
Known Participant
October 23, 2022
  • Is there any method to check  if there is a text frame  next to a text frame (bottom or in the right)
daitranthanhoa
Inspiring
October 24, 2022

Decrease the height and width (visibleBounds) of the TextFrame until it overflows