... including URL and other Internet Web site references, is subject to change. without notice. ... does not give you any license to these patents, tr
Document source : download.microsoft.com
Drawing Suite
383
Properties
<Inheritance> shape
Inherits the properties and elements of the shape class.
text orientation
Returns the orientation of the text inside the text box.
Can be one of the following:
·
downward
·
horizontal
·
text orientation unset
·
vertical east asian
·
vertical, horizontal rotated east asian
·
upward
Class: text frame
Plural
text frames
Represents the text frame in a shape object. Contains the text in the text frame as well as the
properties that control the margins and orientation of the text frame.
Use the text frame property to return the text frame object for a shape. The text range property
returns a text range object that represents the range of text inside the specified text frame. The
following example adds text to the text frame of shape 1 in the active document.
set content of text range of text frame of shape 1 of active document to ¬
"My
text"
Note Some shapes dont support attached text (lines, freeforms, pictures, and OLE objects, for
example). If you attempt to return or set properties that control text in a text frame for those objects,
an error occurs.
Use the has text property to determine whether the text frame contains text, as shown in the
following example.
repeat with s in (get shapes in active document)
if has text of text frame of s is true then
display dialog (content of text range of text frame of s) as string
end if
end repeat
Summary :
Can be one of the following: · downward · horizontal · text orientation unset · vertical east asian · vertical, horizontal rotated east asian · upward Class: text frame Plural text frames Represents the text frame in a shape object.
Tags :
shape,range,properties,orientation,text,actie,object,property,following,example,document,objects,content