PdfListItemCollection
Add Method (String, PdfFontBase)
|
Adds the specified text.
Namespace:
Spire.Pdf.Lists
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public PdfListItem Add(
string text,
PdfFontBase font
)
Public Function Add (
text As String,
font As PdfFontBase
) As PdfListItem
public:
PdfListItem^ Add(
String^ text,
PdfFontBase^ font
)
member Add :
text : string *
font : PdfFontBase -> PdfListItem
Parameters
-
text
-
Type:
System
String
The text.
-
font
-
Type:
Spire.Pdf.Graphics
PdfFontBase
The font.
Return Value
Type:
PdfListItem
The item index in collection.
See Also