Effect text of the shape - this is what the WordArt tools use, and is separate from the attached text present in ordinary textboxes. Theoretically, a shape could have both (a WordArt with attached text), but this is not currently allowed by the UI. Note that font information is provided here. The default text size is in points, the text effect geometry interfaces require the device size of a point to interpret this. The default point size is a 16.16 fixed-point number. A text effect is present if the fGText boolean is set and either the gtextUNICODE (UNICODE) or gtextRTF (RTF) is present, the UNICODE string takes precedence, however it cannot include any additional font information (unlike the RTF).
Property | PID | Type | Default | Description |
gtextUNICODE | 192 | WCHAR* | NULL | UNICODE text string |
gtextRTF | 193 | char* | NULL | RTF text string |
gtextAlign | 194 | MSOGEOTEXTALIGN | Center | alignment on curve |
gtextSize | 195 | LONG | 36<<16 | default point size |
gtextSpacing | 196 | LONG | 1<<16 | fixed point 16.16 |
gtextFont | 197 | WCHAR* | NULL | font family name |
gtextFReverseRows | 240 | BOOL | FALSE | Reverse row order |
fGtext | 241 | BOOL | FALSE | Has text effect |
gtextFVertical | 242 | BOOL | FALSE | Rotate characters |
gtextFKern | 243 | BOOL | FALSE | Kern characters |
gtextFTight | 244 | BOOL | FALSE | Tightening or tracking |
gtextFStretch | 245 | BOOL | FALSE | Stretch to fit shape |
gtextFShrinkFit | 246 | BOOL | FALSE | Char bounding box |
gtextFBestFit | 247 | BOOL | FALSE | Scale text-on-path |
gtextFNormalize | 248 | BOOL | FALSE | Stretch char height |
gtextFDxMeasure | 249 | BOOL | FALSE | Do not measure along path |
gtextFBold | 250 | BOOL | FALSE | Bold font |
gtextFItalic | 251 | BOOL | FALSE | Italic font |
gtextFUnderline | 252 | BOOL | FALSE | Underline font |
gtextFShadow | 253 | BOOL | FALSE | Shadow font |
gtextFSmallcaps | 254 | BOOL | FALSE | Small caps font |
gtextFStrikethrough | 255 | BOOL | FALSE | Strike through font |