Table of Contents

Class XStringFormats

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

Represents predefined text layouts.

public static class XStringFormats
Inheritance
object
XStringFormats

Properties

BaseLineCenter

Gets a new XStringFormat object that centers the text in the middle of the base line.

BaseLineLeft

Gets a new XStringFormat object that aligns the text left on the base line. This is the same as Default.

BaseLineRight

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

BottomCenter

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

BottomLeft

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

BottomRight

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

Center

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

CenterLeft

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

CenterRight

Gets a new XStringFormat object that aligns the text center right of the layout rectangle.

Default

Gets a new XStringFormat object that aligns the text left on the base line. This is the same as BaseLineLeft.

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.

TopRight

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