Namespace: PdfSharp.Drawing
Represents predefined text layouts.
public static class XStringFormats
Inheritance Object → XStringFormats
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; }
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; }
Gets a new XStringFormat object that aligns the text top left of the layout rectangle.
public static XStringFormat TopLeft { get; }
Gets a new XStringFormat object that aligns the text center left of the layout rectangle.
public static XStringFormat CenterLeft { get; }
Gets a new XStringFormat object that aligns the text bottom left of the layout rectangle.
public static XStringFormat BottomLeft { get; }
Gets a new XStringFormat object that centers the text in the middle of the base line.
public static XStringFormat BaseLineCenter { get; }
Gets a new XStringFormat object that centers the text at the top of the layout rectangle.
public static XStringFormat TopCenter { get; }
Gets a new XStringFormat object that centers the text in the middle of the layout rectangle.
public static XStringFormat Center { get; }
Gets a new XStringFormat object that centers the text at the bottom of the layout rectangle.
public static XStringFormat BottomCenter { get; }
Gets a new XStringFormat object that aligns the text in right on the base line.
public static XStringFormat BaseLineRight { get; }
Gets a new XStringFormat object that aligns the text top right of the layout rectangle.
public static XStringFormat TopRight { get; }
Gets a new XStringFormat object that aligns the text center right of the layout rectangle.
public static XStringFormat CenterRight { get; }
Gets a new XStringFormat object that aligns the text at the bottom right of the layout rectangle.
public static XStringFormat BottomRight { get; }