Namespace: Spire.Doc.Collections
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public class ParagraphCollection : DocumentSubsetCollection, IParagraphCollection, IDocumentObjectCollection, ICollectionBase, IEnumerable
Public Class ParagraphCollection Inherits DocumentSubsetCollection Implements IParagraphCollection, IDocumentObjectCollection, ICollectionBase, IEnumerable
public ref class ParagraphCollection : public DocumentSubsetCollection, IParagraphCollection, IDocumentObjectCollection, ICollectionBase, IEnumerable
type ParagraphCollection = class inherit DocumentSubsetCollection interface IParagraphCollection interface IDocumentObjectCollection interface ICollectionBase interface IEnumerable end
Members
| All Members | Constructors | Fields | Properties | Methods |
| Member | Description | |
|---|---|---|
| ParagraphCollection(BodyRegionCollection) |
Initializes a new instance of the ParagraphCollection class.
| |
| Add(IParagraph) |
Adds a paragraph to end of text body.
| |
| Clear()()()() |
Removes all entities
(Inherited from DocumentSubsetCollection.) | |
| Contains(IParagraph) |
Determines whether the [!:Spire.Doc.IParagraphCollection] contains a specific value.
| |
| Count |
Gets the count.
(Inherited from DocumentSubsetCollection.) | |
| Document |
Gets the document.
(Inherited from DocumentSubsetCollection.) | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetByIndex(Int32) | (Inherited from DocumentSubsetCollection.) | |
| GetEnumerator()()()() |
Returns an enumerator that iterates through a collection.
(Inherited from DocumentSubsetCollection.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IndexOf(IParagraph) |
Returns the zero-based index of the specified paragraph.
| |
| Insert(Int32, IParagraph) |
Inserts a paragraph into collection at the specified index.
| |
| Item[([( Int32])]) | ||
| m_doc | (Inherited from OwnerHolder.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Owner |
Gets the owner.
(Inherited from DocumentSubsetCollection.) | |
| Remove(IParagraph) |
Removes the specified paragraph.
| |
| RemoveAt(Int32) |
Removes the paragraph at the specified index from the collection.
| |
| ToString()()()() | (Inherited from Object.) |
Inheritance Hierarchy
System..::..Object
Spire.Doc..::..OwnerHolder
Spire.Doc.Collections..::..DocumentSubsetCollection
Spire.Doc.Collections..::..ParagraphCollection
Spire.Doc..::..OwnerHolder
Spire.Doc.Collections..::..DocumentSubsetCollection
Spire.Doc.Collections..::..ParagraphCollection