PDFsharp-net6

XStringFormats

Namespace: PdfSharp.Drawing

Represents predefined text layouts.

public static class XStringFormats

Inheritance ObjectXStringFormats

Properties

Default

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

public static XStringFormat Default { get; }

Property Value

XStringFormat

BaseLineLeft

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

public static XStringFormat BaseLineLeft { get; }

Property Value

XStringFormat

TopLeft

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

public static XStringFormat TopLeft { get; }

Property Value

XStringFormat

CenterLeft

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

public static XStringFormat CenterLeft { get; }

Property Value

XStringFormat

BottomLeft

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

public static XStringFormat BottomLeft { get; }

Property Value

XStringFormat

BaseLineCenter

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

public static XStringFormat BaseLineCenter { get; }

Property Value

XStringFormat

TopCenter

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

public static XStringFormat TopCenter { get; }

Property Value

XStringFormat

Center

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

public static XStringFormat Center { get; }

Property Value

XStringFormat

BottomCenter

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

public static XStringFormat BottomCenter { get; }

Property Value

XStringFormat

BaseLineRight

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

public static XStringFormat BaseLineRight { get; }

Property Value

XStringFormat

TopRight

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

public static XStringFormat TopRight { get; }

Property Value

XStringFormat

CenterRight

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

public static XStringFormat CenterRight { get; }

Property Value

XStringFormat

BottomRight

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

public static XStringFormat BottomRight { get; }

Property Value

XStringFormat