Quantcast
Channel: Adobe Community : Unanswered Discussions - Adobe FrameMaker
Viewing all articles
Browse latest Browse all 5254

How to clear and set a new string to a textframe ?

$
0
0

Hello forum.

 

A simple question that seems to be easy .

 

How to clear  a textframe and set à new string in it.

 

assuming this code :

 

if (textFrame.ObjectValid()) {

      if (textFrame.constructor.name === "TextFrame") {

         // how to clear the text inside the textframe

          // how to set the new string " new text in the textframe"

      }

    }

 

this text frame in on a reference page inside an unanchoredframe but i know how to get there.

 

thank you for your help

Orveo


Viewing all articles
Browse latest Browse all 5254

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>