Remove
IMathBlockCollection.Remove method
Removes the first occurrence of a specific object from the collection/>.
public bool Remove(IMathBlock item)
Parameter | Type | Description |
---|---|---|
item | IMathBlock | The object to remove from the collection. |
Return Value
true if item was successfully removed from the collection; otherwise, false. This method also returns false if item is not found in the original collection/>.
Examples
Example:
[C#]
IMathBlockCollection blockCollection = new MathParagraph();
IMathBlock block = new MathBlock(new MathematicalText("y"));
blockCollection.Add(block);
blockCollection.Remove(block);
See Also
- interface IMathBlock
- interface IMathBlockCollection
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides