PdfListItem Constructor (String, PdfFontBase, PdfStringFormat, PdfPen, PdfBrush)
|
Creates new list item.
Namespace:
Spire.Pdf.Lists
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public PdfListItem(
string text,
PdfFontBase font,
PdfStringFormat format,
PdfPen pen,
PdfBrush brush
)
Public Sub New (
text As String,
font As PdfFontBase,
format As PdfStringFormat,
pen As PdfPen,
brush As PdfBrush
)
public:
PdfListItem(
String^ text,
PdfFontBase^ font,
PdfStringFormat^ format,
PdfPen^ pen,
PdfBrush^ brush
)
new :
text : string *
font : PdfFontBase *
format : PdfStringFormat *
pen : PdfPen *
brush : PdfBrush -> PdfListItem
Parameters
-
text
-
Type:
System
String
The item text.
-
font
-
Type:
Spire.Pdf.Graphics
PdfFontBase
The item font.
-
format
-
Type:
Spire.Pdf.Graphics
PdfStringFormat
The string format of item.
-
pen
-
Type:
Spire.Pdf.Graphics
PdfPen
The item pen.
-
brush
-
Type:
Spire.Pdf.Graphics
PdfBrush
The item brush.
See Also