Text

Shapes with Text

Add a text label to any Shape, or create stand-alone Text objects. The TextAppearance object, which controls the appearance of text, can use any type of Fill object, enabling many possible text fills. This Picture displays text with gradient and transparent Fills.

TextAppearance properties include:

  • FaceName
  • Size
  • FontStyle: Bold, Italic, Underline, and Strikeout
  • Color
  • Fill
  • Alignment: horizontal alignment
  • LineAlignment: vertical alignment
  • padding for top, bottom, left, and right
  • RenderingHint: anti-aliasing, ClearType, grid-fitting
  • Control over string trimming, clipping, wrapping of multi-line text, and nearly all formatting features available in GDI+