Adobe InDesign CS (3.0) Object Model JS: TextWrapPreference

InDesign CS

Class

TextWrapPreference

 Text wrap preferences.

Hierarchy

Button | EPS | FormField | GraphicLine | Group | Image | Oval | PageItem | PICT | Polygon | Rectangle | TextFrame | WMF
TextWrapPreference
ContourOption | Path

Properties

PropertyTypeAccessDescription
contourOptionsContourOption readonlyThe contour of the text wrap. Valid only when when text wrap type is contour.
inversebool r/wIf true, inverts the text wrap.
parentButtonEPS
FormField
GraphicLine
Group
Image
Oval
PageItem
PICT
Polygon
Rectangle
TextFrame
WMF
readonlyThe parent of the TextWrapPreference (a PageItem, Oval, Rectangle, GraphicLine, TextFrame, Polygon, Group, Button, FormField, Image, EPS, WMF or PICT).
pathsPaths readonlyA collection of paths.
propertiesObject r/wA property that allows setting of several properties at the same time.
textWrapOffset Array of Units
NothingEnum
Unit
r/wThe minimum space between text and the edges of the wrapped object. The format for defining text wrap offset values depends on the text wrap type. If text wrap type is jump object text wrap, specify 2 values in the format [top, bottom]. If text wrap type is next column text wrap or contour, specify a single value. For bounding box text wrap, specify 4 values in the format in the format [top, left, bottom, right]. . Can return: Unit, Array of Units or NothingEnum enumerator.
textWrapTypeTextWrapTypes:
TextWrapTypes.NONE
TextWrapTypes.JUMP_OBJECT_TEXT_WRAP
TextWrapTypes.NEXT_COLUMN_TEXT_WRAP
TextWrapTypes.BOUNDING_BOX_TEXT_WRAP
TextWrapTypes.CONTOUR
TextWrapTypes.USER_MODIFIED
r/wThe text wrap type.

Element of

Button.textWrapPreferences

ContourOption.parent

EPS.textWrapPreferences

FormField.textWrapPreferences

GraphicLine.textWrapPreferences

Group.textWrapPreferences

Image.textWrapPreferences

Oval.textWrapPreferences

PICT.textWrapPreferences

PageItem.textWrapPreferences

Path.parent

Polygon.textWrapPreferences

Rectangle.textWrapPreferences

TextFrame.textWrapPreferences

WMF.textWrapPreferences

Jongware, 27-Jun-2010 v3.0.3dContents :: Index