Table of Contents

Enum ShapeTextDirection

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

Which way a shape's text body reads (a:bodyPr vert).

public enum ShapeTextDirection

Fields

Horizontal = 0

Ordinary horizontal text (a:bodyPr vert "horz", the default).

Rotate90 = 1

Turned a quarter turn clockwise, reading downward (a:bodyPr vert "vert").

Rotate270 = 2

Turned a quarter turn counter-clockwise, reading upward (a:bodyPr vert "vert270").

Remarks

Only the two quarter turns are modelled, because they are the only values that change the text's direction rather than its glyph selection. eaVert, mongolianVert and the wordArtVert family additionally re-form or re-stack individual glyphs, which is vertical typesetting rather than turned text; those are reported as unsupported and read as Horizontal. The attribute survives a round trip regardless, because the whole w:drawing is preserved as an island that wins on write.