-1

I am using this condition only for "JUMP_OBJECT_TEXT_WRAP"

if ((mypageDiff != 0) && (myTextWrap.textWrapPreferences.textWrapMode = TextWrapModes.JUMP_OBJECT_TEXT_WRAP))

but its alpplied for--TextWrapModes.BOUNDING_BOX_TEXT_WRAP also how can we control it?

by has

Dhaval Marthak
  • 17,246
  • 6
  • 46
  • 68
has
  • 1
  • 2

1 Answers1

1

I think you need == as comparison operator like following:

if ((mypageDiff != 0) && (myTextWrap.textWrapPreferences.textWrapMode == TextWrapModes.JUMP_OBJECT_TEXT_WRAP))
----------------------------------------------------------------------^^---------
Dhaval Marthak
  • 17,246
  • 6
  • 46
  • 68