Initializes a new instance of the class.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public PdfStringFormat(
	PdfTextAlignment alignment,
	PdfVerticalAlignment lineAlignment
)
Public Sub New ( 
	alignment As PdfTextAlignment,
	lineAlignment As PdfVerticalAlignment
)
public:
PdfStringFormat(
	PdfTextAlignment alignment, 
	PdfVerticalAlignment lineAlignment
)
new : 
        alignment : PdfTextAlignment * 
        lineAlignment : PdfVerticalAlignment -> PdfStringFormat

Parameters

alignment
PdfTextAlignment
The alignment.
lineAlignment
PdfVerticalAlignment
The vertical alignment.

See Also