| Property | Type | Access | Description |
| absoluteFlip | Flip: Flip.NONE Flip.HORIZONTAL Flip.VERTICAL Flip.HORIZONTAL_AND_VERTICAL Flip.BOTH |
r/w | Indicates whether the TextFrame has been flipped independently of its parent object and, if yes, the direction in which the TextFrame was flipped. |
| absoluteHorizontalScale | number |
r/w | The horizontal scale of the TextFrame relative to its containing object. |
| absoluteRotationAngle | number |
r/w | The rotation angle of the TextFrame relative to its containing object. (Range: -360 to 360) |
| absoluteShearAngle | number |
r/w | The skewing angle of the TextFrame relative to its containing object. (Range: -360 to 360) |
| absoluteVerticalScale | number |
r/w | The vertical scale of the TextFrame relative to its containing object. |
| allArticles | Array of Article |
readonly | The list of all articles this page item is part of |
| allGraphics | Array of Graphic |
readonly | Lists all graphics contained by the TextFrame. |
| allPageItems | Array of PageItem |
readonly | Lists all page items contained by the TextFrame. |
| allowOverrides | bool |
r/w | If true, the master page item can be overridden. |
| anchoredObjectSettings | AnchoredObjectSetting |
readonly | Anchored object settings. |
| animationSettings | AnimationSetting |
readonly | The page item animation settings. |
| appliedObjectStyle | ObjectStyle |
r/w | The object style applied to the TextFrame. |
| associatedXMLElement | XMLItem |
readonly | The XML element associated with the TextFrame. |
| baselineFrameGridOptions | BaselineFrameGridOption |
readonly | Baseline frame grid option settings. |
| bottomLeftCornerOption | CornerOptions: CornerOptions.NONE CornerOptions.ROUNDED_CORNER CornerOptions.INVERSE_ROUNDED_CORNER CornerOptions.INSET_CORNER CornerOptions.BEVEL_CORNER CornerOptions.FANCY_CORNER |
r/w | The shape to apply to the bottom left corner of rectangular shapes. |
| bottomLeftCornerRadius | Measurement Unit (Number or String) |
r/w | The radius in measurement units of the corner effect applied to the bottom left corner of rectangular shapes |
| bottomRightCornerOption | CornerOptions: CornerOptions.NONE CornerOptions.ROUNDED_CORNER CornerOptions.INVERSE_ROUNDED_CORNER CornerOptions.INSET_CORNER CornerOptions.BEVEL_CORNER CornerOptions.FANCY_CORNER |
r/w | The shape to apply to the bottom right corner of rectangular shapes. |
| bottomRightCornerRadius | Measurement Unit (Number or String) |
r/w | The radius in measurement units of the corner effect applied to the bottom right corner of rectangular shapes |
| buttons | Buttons Button |
readonly | A collection of buttons. |
| characters | Characters Character |
readonly | A collection of characters. |
| checkBoxes | CheckBoxes |
readonly | A collection of checkboxes. |
| comboBoxes | ComboBoxes |
readonly | A collection of comboboxes. |
| contentTransparencySettings | ContentTransparencySetting |
readonly | Transparency settings for the content of the TextFrame. |
| contentType | ContentType: ContentType.UNASSIGNED ContentType.GRAPHIC_TYPE ContentType.TEXT_TYPE |
r/w | The type of content that a frame can contain. |
| contents | SpecialCharacters String TextFrameContents |
r/w | The contents of the text frame. Can return: String, TextFrameContents enumerator or SpecialCharacters enumerator. |
| endCap | EndCap: EndCap.BUTT_END_CAP EndCap.ROUND_END_CAP EndCap.PROJECTING_END_CAP |
r/w | The end shape of an open path. |
| endJoin | EndJoin: EndJoin.MITER_END_JOIN EndJoin.ROUND_END_JOIN EndJoin.BEVEL_END_JOIN |
r/w | The corner join applied to the TextFrame. |
| endTextFrame | TextFrame TextPath |
readonly | The last text frame in the thread. Can return: TextFrame or TextPath. |
| epstexts | EPSTexts EPSText |
readonly | EPSTexts |
| eventListeners | EventListeners EventListener |
readonly | A collection of event listeners. |
| events | Events Event |
readonly | A collection of events. |
| fillColor | String Swatch |
r/w | The swatch (color, gradient, tint, or mixed ink) applied to the fill of the TextFrame. . Can also accept: String. |
| fillTint | number |
r/w | The percent of tint to use in the TextFrame's fill color. (To specify a tint percent, use a number in the range of 0 to 100; to use the inherited or overridden value, use -1.) |
| fillTransparencySettings | FillTransparencySetting |
readonly | Transparency settings for the fill applied to the TextFrame. |
| flip | Flip: Flip.NONE Flip.HORIZONTAL Flip.VERTICAL Flip.HORIZONTAL_AND_VERTICAL Flip.BOTH |
r/w | The direction in which to flip the printed image. |
| footnotes | Footnotes Footnote |
readonly | A collection of footnotes. |
| formFields | FormFields FormField |
readonly | A collection of form fields. |
| gapColor | Swatch |
r/w | The swatch (color, gradient, tint, or mixed ink) applied to the gap of a dashed, dotted, or striped stroke. For information, see stroke type. |
| gapTint | number |
r/w | The tint as a percentage of the gap color. (To specify a tint percent, use a number in the range of 0 to 100; to use the inherited or overridden value, use -1.) |
| geometricBounds | Array of Measurement Unit (Number or String) |
r/w | The bounds of the TextFrame excluding the stroke width, in the format [y1, x1, y2, x2], which give the coordinates of the top-left and bottom-right corners of the bounding box. |
| gradientFillAngle | number |
r/w | The angle of a linear gradient applied to the fill of the TextFrame. (Range: -180 to 180) |
| gradientFillLength | Measurement Unit (Number or String) |
r/w | The length (for a linear gradient) or radius (for a radial gradient) applied to the fill of the TextFrame. |
| gradientFillStart | Array of Measurement Unit (Number or String) |
r/w | The starting point (in page coordinates) of a gradient applied to the fill of the TextFrame, in the format [x, y]. |
| gradientStrokeAngle | number |
r/w | The angle of a linear gradient applied to the stroke of the TextFrame. (Range: -180 to 180) |
| gradientStrokeLength | Measurement Unit (Number or String) |
r/w | The length (for a linear gradient) or radius (for a radial gradient) applied to the stroke of the TextFrame. |
| gradientStrokeStart | Array of Measurement Unit (Number or String) |
r/w | The starting point (in page coordinates) of a gradient applied to the stroke of the TextFrame, in the format [x, y]. |
| graphicLines | GraphicLines GraphicLine |
readonly | A collection of graphic lines. |
| gridData | GridDataInformation |
readonly | Default grid properties. Note: Applies to named, layout, and frame (story) grids. |
| groups | Groups Group |
readonly | A collection of groups. |
| hiddenTexts | HiddenTexts HiddenText |
readonly | A collection of hidden text objects. |
| horizontalLayoutConstraints | Array of DimensionsConstraints: DimensionsConstraints.FIXED_DIMENSION DimensionsConstraints.FLEXIBLE_DIMENSION |
r/w | The left margin, width, and right margin constraints this item is subject to when using the object-based layout rule. |
| horizontalScale | number |
r/w | The horizontal scaling applied to the TextFrame. |
| id | number |
readonly | The unique ID of the TextFrame. |
| index | number |
readonly | The index of the TextFrame within its containing object. |
| insertionPoints | InsertionPoints InsertionPoint |
readonly | A collection of insertion points. |
| isValid | bool |
readonly | Returns true if the object specifier resolves to valid objects. |
| itemLayer | Layer |
r/w | The layer that the TextFrame is on. |
| label | string |
r/w | A property that can be set to any string. |
| leftLineEnd | ArrowHead: ArrowHead.NONE ArrowHead.SIMPLE_ARROW_HEAD ArrowHead.SIMPLE_WIDE_ARROW_HEAD ArrowHead.TRIANGLE_ARROW_HEAD ArrowHead.TRIANGLE_WIDE_ARROW_HEAD ArrowHead.BARBED_ARROW_HEAD ArrowHead.CURVED_ARROW_HEAD ArrowHead.CIRCLE_ARROW_HEAD ArrowHead.CIRCLE_SOLID_ARROW_HEAD ArrowHead.SQUARE_ARROW_HEAD ArrowHead.SQUARE_SOLID_ARROW_HEAD ArrowHead.BAR_ARROW_HEAD |
r/w | The arrowhead applied to the start of the path. |
| lines | Lines Line |
readonly | A collection of lines. |
| linkedPageItemOptions | LinkedPageItemOption |
readonly | Linked Page Item options |
| listBoxes | ListBoxes |
readonly | A collection of listboxes. |
| locked | bool |
r/w | If true, the TextFrame is locked. |
| miterLimit | number (range: 1 - 500) |
r/w | The limit of the ratio of stroke width to miter length before a miter (pointed) join becomes a bevel (squared-off) join. (default: 4) |
| multiStateObjects | MultiStateObjects MultiStateObject |
readonly | A collection of multi-state objects. |
| name | string |
r/w | The name of the TextFrame. |
| nextTextFrame | NothingEnum TextFrame TextPath |
r/w | The next text frame in the thread. Can return: TextFrame or TextPath. Can also accept: NothingEnum enumerator. |
| nonprinting | bool |
r/w | If true, the TextFrame does not print. |
| notes | Notes Note |
readonly | A collection of notes. |
| objectExportOptions | ObjectExportOption |
readonly | Export options for the object |
| ovals | Ovals Oval |
readonly | A collection of ellipses. |
| overflows | bool |
readonly | If true, the story has overset text. |
| overprintFill | bool |
r/w | If true, the TextFrame's fill color overprints any underlying objects. If false, the fill color knocks out the underlying colors. |
| overprintGap | bool |
r/w | If true, the gap color overprints any underlying colors. If false, the gap color knocks out the underlying colors. |
| overprintStroke | bool |
r/w | If true, the TextFrame's stroke color overprints any underlying objects. If false, the stroke color knocks out the underlying colors. |
| overridden | bool |
readonly | If true, the object originated on a master spread and was overridden. If false, the object either originated on a master spread and was not overridden, or the object did not originate on a master page. |
| overriddenMasterPageItem | Graphic Guide Movie PageItem Sound |
readonly | An object that originated on a master page and has been overridden. Can return: PageItem, Guide, Graphic, Movie or Sound. |
| pageItems | PageItems PageItem |
readonly | The page items collection, which can be used to process all page items in a container (such as a document, page, or group), regardless of type. |
| paragraphs | Paragraphs Paragraph |
readonly | A collection of paragraphs. |
| parent | Character ComboBox GraphicLine Group ListBox MasterSpread Oval PlaceGun Polygon Rectangle SignatureField Snippet SplineItem Spread State TextBox |
readonly | The parent of the TextFrame (a ComboBox, ListBox, TextBox, SignatureField, Spread, MasterSpread, SplineItem, Polygon, GraphicLine, Rectangle, Oval, Group, State, Character, PlaceGun or Snippet). |
| parentPage | Page |
readonly | The page on which this page item appears. |
| parentStory | Story |
readonly | The story that contains the text. |
| paths | Paths Path |
readonly | A collection of paths. |
| polygons | Polygons Polygon |
readonly | A collection of polygons. |
| preferences | Preferences Preference |
readonly | A collection of preferences objects. |
| previousTextFrame | NothingEnum TextFrame TextPath |
r/w | The previous text frame in the thread. Can return: TextFrame or TextPath. Can also accept: NothingEnum enumerator. |
| properties | Object |
r/w | A property that allows setting of several properties at the same time. |
| radioButtons | RadioButtons RadioButton |
readonly | A collection of radio buttons. |
| rectangles | Rectangles Rectangle |
readonly | A collection of rectangles. |
| rightLineEnd | ArrowHead: ArrowHead.NONE ArrowHead.SIMPLE_ARROW_HEAD ArrowHead.SIMPLE_WIDE_ARROW_HEAD ArrowHead.TRIANGLE_ARROW_HEAD ArrowHead.TRIANGLE_WIDE_ARROW_HEAD ArrowHead.BARBED_ARROW_HEAD ArrowHead.CURVED_ARROW_HEAD ArrowHead.CIRCLE_ARROW_HEAD ArrowHead.CIRCLE_SOLID_ARROW_HEAD ArrowHead.SQUARE_ARROW_HEAD ArrowHead.SQUARE_SOLID_ARROW_HEAD ArrowHead.BAR_ARROW_HEAD |
r/w | The arrowhead applied to the end of the path. |
| rotationAngle | number |
r/w | The rotatation angle of the TextFrame. (Range: -360 to 360) |
| shearAngle | number |
r/w | The skewing angle applied to the TextFrame. (Range: -360 to 360) |
| signatureFields | SignatureFields SignatureField |
readonly | A collection of signature fields. |
| splineItems | SplineItems SplineItem |
readonly | The spline items collection. |
| startTextFrame | TextFrame TextPath |
readonly | The first text frame in the thread. Can return: TextFrame or TextPath. |
| strokeAlignment | StrokeAlignment: StrokeAlignment.CENTER_ALIGNMENT StrokeAlignment.INSIDE_ALIGNMENT StrokeAlignment.OUTSIDE_ALIGNMENT |
r/w | The stroke alignment applied to the TextFrame. |
| strokeColor | String Swatch |
r/w | The swatch (color, gradient, tint, or mixed ink) applied to the stroke of the TextFrame. Can also accept: String. |
| strokeCornerAdjustment | StrokeCornerAdjustment: StrokeCornerAdjustment.NONE StrokeCornerAdjustment.DASHES StrokeCornerAdjustment.GAPS StrokeCornerAdjustment.DASHES_AND_GAPS |
r/w | The corner adjustment applied to the TextFrame. |
| strokeDashAndGap | Array of Measurement Unit (Number or String) |
r/w | The dash and gap measurements that define the pattern of a custom dashed line. Define up to six values (in points) in the format [dash1, gap1, dash2, gap2, dash3, gap3]. |
| strokeTint | number |
r/w | The percent of tint to use in object's stroke color. (To specify a tint percent, use a number in the range of 0 to 100; to use the inherited or overridden value, use -1.) |
| strokeTransparencySettings | StrokeTransparencySetting |
readonly | Transparency settings for the stroke. |
| strokeType | String StrokeStyle |
r/w | The name of the stroke style to apply. Can also accept: String. |
| strokeWeight | Measurement Unit (Number or String) |
r/w | The weight (in points) to apply to the TextFrame's stroke. |
| tables | Tables Table |
readonly | A collection of tables. |
| textBoxes | TextBoxes |
readonly | A collection of text boxes. |
| textColumns | TextColumns TextColumn |
readonly | A collection of text columns. |
| textFrameIndex | number |
readonly | The index of the text frame within the story. |
| textFramePreferences | TextFramePreference |
readonly | Text frame preference settings. |
| textFrames | TextFrames TextFrame |
readonly | A collection of text frames. |
| textPaths | TextPaths TextPath |
readonly | A collection of text paths. |
| textStyleRanges | TextStyleRanges TextStyleRange |
readonly | A collection of text style ranges. |
| textVariableInstances | TextVariableInstances TextVariableInstance |
readonly | A collection of text variable instances. |
| textWrapPreferences | TextWrapPreference |
readonly | The text wrap preference properties that define the default formatting for wrapping text around objects. |
| texts | Texts Text |
readonly | A collection of text objects. |
| timingSettings | TimingSetting |
readonly | The object timing settings. |
| topLeftCornerOption | CornerOptions: CornerOptions.NONE CornerOptions.ROUNDED_CORNER CornerOptions.INVERSE_ROUNDED_CORNER CornerOptions.INSET_CORNER CornerOptions.BEVEL_CORNER CornerOptions.FANCY_CORNER |
r/w | The shape to be applied to the top left corner of rectangular shapes and all corners of non-rectangular shapes.Note: corner option differs from end join in which you can set a radius for a corner option, whereas the rounded or beveled effect of an end join depends on the stroke weight. |
| topLeftCornerRadius | Measurement Unit (Number or String) |
r/w | The radius in measurement units of the corner effect applied to the top left corner of rectangular shapes and all corners of non-rectangular shapes |
| topRightCornerOption | CornerOptions: CornerOptions.NONE CornerOptions.ROUNDED_CORNER CornerOptions.INVERSE_ROUNDED_CORNER CornerOptions.INSET_CORNER CornerOptions.BEVEL_CORNER CornerOptions.FANCY_CORNER |
r/w | The shape to apply to the top right corner of rectangular shapes |
| topRightCornerRadius | Measurement Unit (Number or String) |
r/w | The radius in measurement units of the corner effect applied to the top right corner of rectangular shapes |
| transparencySettings | TransparencySetting |
readonly | Transparency settings. |
| verticalLayoutConstraints | Array of DimensionsConstraints: DimensionsConstraints.FIXED_DIMENSION DimensionsConstraints.FLEXIBLE_DIMENSION |
r/w | The top margin, height, and bottom margin constraints this item is subject to when using the object-based layout rule. |
| verticalScale | number |
r/w | The vertical scaling applied to the TextFrame. |
| visible | bool |
r/w | If true, the TextFrame is visible. |
| visibleBounds | Array of Measurement Unit (Number or String) |
r/w | The bounds of the TextFrame including the stroke width, in the format [y1, x1, y2, x2], which give the coordinates of the top-left and bottom-right corners of the bounding box. |
| words | Words Word |
readonly | A collection of words. |