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

How can I automatically obtain the line spacing and interline spacing of the image insertion point?

Guide ,
Aug 17, 2025 Aug 17, 2025

I inserted an image into a line.

Now, I want to use a script to obtain the line spacing and interline spacing of the insertion point.
Please give me some guidance.

Thank you very much.

TOPICS
How to , Scripting
99
Translate
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 ,
Aug 19, 2025 Aug 19, 2025
LATEST

I always make a paragraph style named "Graphics" where the leading is set to AUTO. 

The leading automatically becomes whatever the graphic height is.

You can also define some space before and space after.

Mike Witherell
Translate
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