Text

How text fits in a shape. Text is host-dependent, so some hosts may ignore some of these properties.

Property

PID

Type

Default

Description

lTxid

128

LONG

0

id for the text, value determined by the host

dxTextLeft

129

LONG

1/10 inch

margins relative to shape's inscribed text rectangle (in EMUs)

dyTextTop

130

LONG

1/20 inch

dxTextRight

131

LONG

1/10 inch

dyTextBottom

132

LONG

1/20 inch

WrapText

133

MSOWRAPMODE

FALSE

Wrap text at shape margins

scaleText

134

LONG

0

Text zoom/scale (used if fFitTextToShape)

anchorText

135

MSOANCHOR

Top

How to anchor the text

txflTextFlow

136

MSOTXFL

HorzN

Text flow

cdirFont

137

MSOCDIR

msocdir0

Font rotation

hspNext

138

MSOHSP

NULL

ID of the next shape (used by Word for linked textboxes)

txdir

139

MSOTXDIR

LTR

Bi-Di Text direction

fSelectText

187

BOOL

TRUE

TRUE if single click selects text, FALSE if two clicks

fAutoTextMargin

188

BOOL

FALSE

use host's margin calculations

fRotateText

189

BOOL

FALSE

Rotate text with shape

fFitShapeToText

190

BOOL

FALSE

Size shape to fit text size

fFitTextToShape

191

BOOL

FALSE

Size text to fit shape size