Class XTextFormatter
Represents a very simple text formatter. If this class does not satisfy your needs on formatting paragraphs, I recommend taking a look at MigraDoc. Alternatively, you should copy this class in your own source code and modify it.
public class XTextFormatter
- Inheritance
-
objectXTextFormatter
Constructors
- XTextFormatter(XGraphics)
Initializes a new instance of the XTextFormatter class.
Properties
- Alignment
Gets or sets the alignment of the text.
- Font
Gets or sets the font.
- LayoutRectangle
Gets or sets the bounding box of the layout.
- Text
Gets or sets the text.
Methods
- DrawString(string, XFont, XBrush, XRect)
Draws the text.
- DrawString(string, XFont, XBrush, XRect, XStringFormat)
Draws the text.