Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

2.3.22.3 gtextAlign

Office

The gtextAlign property specifies how geometry text is aligned on this shape.

0

1

2

3

4

5

6

7

8

9

1

0

1

2

3

4

5

6

7

8

9

2

0

1

2

3

4

5

6

7

8

9

3

0

1

opid

gtextAlign

...

opid (2 bytes): An OfficeArtFOPTEOPID record, as defined in section 2.2.8, that specifies the header for this property. The following table specifies the subfields.

Field

Meaning

opid.opid

A value that MUST be 0x00C2.

opid.fBid

A value that MUST be 0x0.

opid.fComplex

A value that MUST be 0x0.

gtextAlign (4 bytes): An unsigned integer that specifies how geometry text is aligned on this shape. The alignment is applicable only if space remains after laying out a line of text along the geometry of the shape. The curve on which a single line of text is laid out is known as the path of that text. The allowed values are shown in the following table. The default value for this property is msoalignTextCenter.

Name

Value

Meaning

msoalignTextStretch

0x00000000

Text SHOULD<61> be stretched to fill the entire length of the path:

Dd922185.image129(en-us,office.12).jpg

msoalignTextCenter

0x00000001

Text is centered along the length of the path:

Dd922185.image130(en-us,office.12).jpg

msoalignTextLeft

0x00000002

Text is placed at the beginning of the path:

Dd922185.image131(en-us,office.12).jpg

msoalignTextRight

0x00000003

Text is placed at the end of the path:

Dd922185.image132(en-us,office.12).jpg

msoalignTextLetterJust

0x00000004

Spacing between individual letters SHOULD<62> be added so that the letters fill the entire path:

Dd922185.image133(en-us,office.12).jpg

msoalignTextWordJust

0x00000005

Spacing between individual words SHOULD<63> be added so that the words fill the entire path:

Dd922185.image134(en-us,office.12).jpg

Show:
© 2015 Microsoft