Table of Contents

Class XStringFormat

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

Represents the text layout information.

public class XStringFormat
Inheritance
object
XStringFormat

Constructors

XStringFormat()

Initializes a new instance of the XStringFormat class.

Properties

Alignment

Gets or sets horizontal text alignment information.

BottomCenter

Gets a new XStringFormat object that centers the text at the bottom of the layout rectangle.

Center

Gets a new XStringFormat object that centers the text in the middle of the layout rectangle.

Default

Gets a new XStringFormat object that aligns the text left on the base line.

LineAlignment

Gets or sets the line alignment.

TopCenter

Gets a new XStringFormat object that centers the text at the top of the layout rectangle.

TopLeft

Gets a new XStringFormat object that aligns the text top left of the layout rectangle.