2.3.22.3 gtextAlign

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<59> be stretched to fill the entire length of the path:

Text SHOULD  be stretched to fill the entire length of the path

msoalignTextCenter

0x00000001

Text is centered along the length of the path:

Text is centered along the length of the path

msoalignTextLeft

0x00000002

Text is placed at the beginning of the path:

Text is placed at the beginning of the path

msoalignTextRight

0x00000003

Text is placed at the end of the path:

Text is placed at the end of the path

msoalignTextLetterJust

0x00000004

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

Spacing between individual letters SHOULD  be added so that the letters fill the entire path

msoalignTextWordJust

0x00000005

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

Spacing between individual words SHOULD  be added so that the words fill the entire path