javascript - Text wrap option - suggestion -


i using condition "jump_object_text_wrap"

if ((mypagediff != 0) && (mytextwrap.textwrappreferences.textwrapmode = textwrapmodes.jump_object_text_wrap)) 

but alpplied for--textwrapmodes.bounding_box_text_wrap how can control it?

by has

i think need == comparison operator following:

if ((mypagediff != 0) && (mytextwrap.textwrappreferences.textwrapmode == textwrapmodes.jump_object_text_wrap)) ----------------------------------------------------------------------^^--------- 

Comments