Class ListItem
A ListItem represents an item within a List.
Implements
Inherited Members
Namespace: pdftron.Layout
Assembly: PDFNet.dll
Syntax
public class ListItem : ContentNode, IDisposable
Methods
AddList()
Add a nested sublist to the list item.
Declaration
public List AddList()
Returns
Type | Description |
---|---|
List | The newly created List object representing the nested sublist |
AddParagraph(string)
Add a paragraph with the specified text to the list item.
Declaration
public Paragraph AddParagraph(string text)
Parameters
Type | Name | Description |
---|---|---|
string | text | The text to add |
Returns
Type | Description |
---|---|
Paragraph | The newly created Paragraph object |
Dispose(bool)
Declaration
[HandleProcessCorruptedStateExceptions]
protected override void Dispose(bool A_0)
Parameters
Type | Name | Description |
---|---|---|
bool | A_0 |
Overrides
~ListItem()
Declaration
protected ~ListItem()
GetIndentationLevel()
Get the indentation level of the list item.
Declaration
public int GetIndentationLevel()
Returns
Type | Description |
---|---|
int | The indentation level of the list item |
GetItemIndex()
Get the index of the list item within the parent list.
Declaration
public int GetItemIndex()
Returns
Type | Description |
---|---|
int | The index of the list item |
GetListIdentifier()
Get the identifier of the parent list.
Declaration
public int GetListIdentifier()
Returns
Type | Description |
---|---|
int | The identifier of the parent list |