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

Align textframe in framemaker.

Community Beginner ,
May 03, 2018 May 03, 2018

Copy link to clipboard

Copied

Hi,

     How to move textframe from top to bottom of framemaker page using textframe "Align" property in extendscript ? And i have attached screenshot for included textframe in top of framemaker ,and i have mentioned "Align" property.I need textframe move into bottom.So please suggests if any ideas.

TOPICS
Scripting

Views

554

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
Advocate ,
May 04, 2018 May 04, 2018

Copy link to clipboard

Copied

You mention a text frame, but these are positioned via the master page, not via the align properties. An anchored frame can be aligned to the top or bottom of the page, but that is not done via the Align properties - it is done via the Anchored Frame properties. An image can be aligned inside its anchored frame, which is what is done via the Align properties.

It is very unclear what you want to achieve. The screenshot does not really help as it does not show what you have selected. Are you placing a text frame on top of a page ? And why would you do that ? What is the text frame going to hold ? If this is a text frame that should be part of your document text then you should add the text frame to the master page, which is also where you can define the location of that text frame.

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 ,
May 04, 2018 May 04, 2018

Copy link to clipboard

Copied

LATEST

To align a text frame to the bottom of the page, change its LocY property. The basic formula would be

textFrame.LocY = page height (doc.PageHeight) - text frame height (textFrame.Height)

where textFrame is the variable for your Text Frame object, and doc is the Document object.

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