Skip to main content
Known Participant
October 2, 2010
Answered

Insert Image in TextFlow Error

  • October 2, 2010
  • 1 reply
  • 692 views

Hi,

I'm trying to insert an Inline Image but I always get this error: 

Property float value [object SelectionState] is out of range

the code I'm using is this:

IEditManager( editorModel.textFlow.interactionManager ).insertInlineGraphic(imgSrc, imgW, imgH, selectionState);

Any help will be appreciated.

This topic has been closed for replies.
Correct answer oscar7878

try this:

IEditManager( editorModel.textFlow.interactionManager ).insertInlineGraphic(imgSrc, imgW, imgH, "none");

1 reply

oscar7878Correct answer
Inspiring
October 2, 2010

try this:

IEditManager( editorModel.textFlow.interactionManager ).insertInlineGraphic(imgSrc, imgW, imgH, "none");
storm767Author
Known Participant
October 2, 2010

perfect! thanks a lot!