Class ParagraphItemCollection
Represents the collection of ParagraphItem.
Inherited Members
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.Portable.dll
Syntax
public class ParagraphItemCollection : EntityCollection, IEntityCollectionBase, ICollectionBase, IEnumerable
Constructors
ParagraphItemCollection(WordDocument)
Initializes a new instance of the ParagraphItemCollection class with the specified WordDocument instance.
Declaration
public ParagraphItemCollection(WordDocument doc)
Parameters
Type | Name | Description |
---|---|---|
WordDocument | doc | The WordDocument instance. |
Properties
Item[Int32]
Gets the ParagraphItem at the specified index from the collection. Read-only.
Declaration
public ParagraphItem this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the paragraph item to get from the collection. |
Property Value
Type | Description |
---|---|
ParagraphItem | The ParagraphItem at the specified index. |
OwnerParagraph
Gets the owner paragraph of this paragraph item. Read-only.
Declaration
protected WParagraph OwnerParagraph { get; }
Property Value
Type | Description |
---|---|
WParagraph | The owner paragraph. |
TypesOfElement
Gets the type of the elements present in the collection.
Declaration
protected override Type[] TypesOfElement { get; }
Property Value
Type | Description |
---|---|
System.Type[] | The System.Type collection that contains the types of the elements. |
Overrides
Methods
OnClear()
Occurs when all items are removed.
Declaration
protected override void OnClear()
Overrides
OnInsertComplete(Int32, Entity)
Occurs when entity is inserted.
Declaration
protected override void OnInsertComplete(int index, Entity entity)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index to insert the entity. |
Entity | entity | The Entity to insert. |
Overrides
OnRemove(Int32)
Occurs when entity is removed.
Declaration
protected override void OnRemove(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index to remove the entity. |