Quantcast
Channel: Adobe Community : Popular Discussions - Adobe FrameMaker
Viewing all articles
Browse latest Browse all 23442

Create new Unanchored Frame not working?

$
0
0

Hi everyone.

 

What i am trying is creating an empty frame for graphics.

i´m using Extendscript for this purpose. I can create Frames with Graphic. but no empty Frames.

I Tried following code:

                                        
frame = doc.NewGraphicObject (Constants.FO_AnchoredFrame, doc.TextSelection);               
frame = doc.NewGraphicObject (Constants.FO_UnanchoredFrame, doc.TextSelection);               
frame = doc.NewUnanchoredFrame (doc.TextSelection);        

 

None of those is creating an empty Frame. I have an unstructered Document but tried this with structered documents too.

I tried them one by one, and now i am out of options. I don´t have a clue why this is not working.

I´m using Framemaker 12.

 

Hope somebody knows what i´m missing.


Viewing all articles
Browse latest Browse all 23442

Trending Articles