Class ListItem
Inherited Members
Namespace: pdftron.Layout
Assembly: PDFTronDotNet.dll
Syntax
public class ListItem : ContentNode
Constructors
ListItem(IntPtr, object)
Declaration
public ListItem(IntPtr impl, object reference)
Parameters
| Type | Name | Description |
|---|---|---|
| IntPtr | impl | |
| object | reference |
Fields
m_impl
Declaration
protected IntPtr m_impl
Field Value
| Type | Description |
|---|---|
| IntPtr |
Methods
AddList()
Adds a nested list to the list item.
Declaration
public List AddList()
Returns
| Type | Description |
|---|---|
| List | The list object representing the nested list. |
AddParagraph()
Adds a new paragraph to the list item.
Declaration
public Paragraph AddParagraph()
Returns
| Type | Description |
|---|---|
| Paragraph | The paragraph object representing the newly added paragraph. |
AddParagraph(string)
Adds a new paragraph with the specified text to the list item.
Declaration
public Paragraph AddParagraph(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | The text content of the paragraph. |
Returns
| Type | Description |
|---|---|
| Paragraph | The paragraph object representing the newly added paragraph. |
GetIndentationLevel()
Gets the indentation level of the list item.
Declaration
public int GetIndentationLevel()
Returns
| Type | Description |
|---|---|
| int | The indentation level of the list item. |
GetItemIndex()
Gets the index of the list item within the parent list.
Declaration
public int GetItemIndex()
Returns
| Type | Description |
|---|---|
| int | The index of the list item within the parent list. |
GetListIdentifier()
Gets the identifier of the list.
Declaration
public int GetListIdentifier()
Returns
| Type | Description |
|---|---|
| int | The identifier of the list. |