Initializes a new instance of the class.

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

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public PdfListItem(
	string text,
	PdfFontBase font
)
Public Sub New ( 
	text As String,
	font As PdfFontBase
)
public:
PdfListItem(
	String^ text, 
	PdfFontBase^ font
)
new : 
        text : string * 
        font : PdfFontBase -> PdfListItem

Parameters

text
String
The text of item.
font
PdfFontBase
The font of item.

See Also