PdfSharp-WPF  1.31.7289
PdfSharp.Drawing.XStringFormat Class Reference

Represents the text layout information. More...

Public Member Functions

 XStringFormat ()
 Initializes a new instance of the XStringFormat class. More...
 

Properties

XStringAlignment Alignment [get, set]
 Gets or sets horizontal text alignment information. More...
 
XLineAlignment LineAlignment [get, set]
 Gets or sets the line alignment. More...
 
static XStringFormat Default [get]
 Gets a new XStringFormat object that aligns the text left on the base line. More...
 
static XStringFormat TopLeft [get]
 Gets a new XStringFormat object that aligns the text top left of the layout rectangle. More...
 
static XStringFormat Center [get]
 Gets a new XStringFormat object that centers the text in the middle of the layout rectangle. More...
 
static XStringFormat TopCenter [get]
 Gets a new XStringFormat object that centers the text at the top of the layout rectangle. More...
 
static XStringFormat BottomCenter [get]
 Gets a new XStringFormat object that centers the text at the bottom of the layout rectangle. More...
 
XStringFormatFlags FormatFlags [get, set]
 Gets or sets flags with format information. More...
 

Detailed Description

Represents the text layout information.

Constructor & Destructor Documentation

◆ XStringFormat()

PdfSharp.Drawing.XStringFormat.XStringFormat ( )

Initializes a new instance of the XStringFormat class.

Property Documentation

◆ Alignment

XStringAlignment PdfSharp.Drawing.XStringFormat.Alignment
getset

Gets or sets horizontal text alignment information.

◆ BottomCenter

XStringFormat PdfSharp.Drawing.XStringFormat.BottomCenter
staticget

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

◆ Center

XStringFormat PdfSharp.Drawing.XStringFormat.Center
staticget

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

◆ Default

XStringFormat PdfSharp.Drawing.XStringFormat.Default
staticget

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

◆ FormatFlags

XStringFormatFlags PdfSharp.Drawing.XStringFormat.FormatFlags
getset

Gets or sets flags with format information.

◆ LineAlignment

XLineAlignment PdfSharp.Drawing.XStringFormat.LineAlignment
getset

Gets or sets the line alignment.

◆ TopCenter

XStringFormat PdfSharp.Drawing.XStringFormat.TopCenter
staticget

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

◆ TopLeft

XStringFormat PdfSharp.Drawing.XStringFormat.TopLeft
staticget

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


The documentation for this class was generated from the following file: