Table of Contents

Class ShapeWordArt

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

WordArt: text that is drawn as shape geometry rather than as a run of text (v:textpath).

public sealed class ShapeWordArt
Inheritance
ShapeWordArt
Inherited Members

Remarks

A WordArt shape has no outline of its own worth drawing. The _x0000_t136 shapetype Word's watermarks use has the path m@7,l@8,m@5,21600l@6,21600e — two zero-area baselines — and the shape's fill and stroke exist to colour the glyphs, not a plate. So the text replaces the outline: the glyph contours become the shape's geometry, and every downstream stage (fill, opacity, rotation, z-order) treats them as it treats any other path.

The size on FontSize is only meaningful when FitShape is false. With fitshape="t" — the default for the WordArt shapetypes, and what every Word watermark carries — the text is scaled to fill the shape box instead, which is why the watermark markup can state a nominal font-size:1pt and still render at full page size.

Constructors

ShapeWordArt()

Properties

Bold

Gets or sets whether the textpath style asks for bold.

FitShape

Gets or sets whether the text is scaled to fill the shape box (v:textpath fitshape).

FontFamily

Gets or sets the font family from the textpath style, or null when unstated.

FontSize

Gets or sets the authored font size, or zero when unstated.

Italic

Gets or sets whether the textpath style asks for italic.

Text

Gets or sets the text to draw (v:textpath string).

Methods

Clone()

Creates a copy.