alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Interface IOfficeSmartArtTextParts

    Represents a collection of IOfficeSmartArtTextPart instances in a paragraph.

    Inherited Members
    IEnumerable<IOfficeSmartArtTextPart>.GetEnumerator()
    Namespace: Syncfusion.Office
    Assembly: Syncfusion.Compression.NET.dll
    Syntax
    public interface IOfficeSmartArtTextParts : IEnumerable<IOfficeSmartArtTextPart>, IEnumerable

    Properties

    Count

    Gets the number of elements in the SmartArt text part collection. Read-only.

    Declaration
    int Count { get; }
    Property Value
    Type
    int

    this[int]

    Gets a IOfficeSmartArtTextPart instance at the specified index of the collection. Read-only.

    Declaration
    IOfficeSmartArtTextPart this[int index] { get; }
    Parameters
    Type Name Description
    int index

    Determines the index of the SmartArt text part.

    Property Value
    Type Description
    IOfficeSmartArtTextPart

    Returns an IOfficeSmartArtTextPart instance.

    Methods

    Add(string)

    Adds a new text part to the SmartArt paragraph.

    Declaration
    IOfficeSmartArtTextPart Add(string text = null)
    Parameters
    Type Name Description
    string text

    The text to be added to the text part. If unspecified, the text part will be created without any text.

    Returns
    Type Description
    IOfficeSmartArtTextPart

    An instance of IOfficeSmartArtTextPart representing the added text part.

    Clear()

    Removes all the IOfficeSmartArtTextPart instances from the SmartArt text part collection.

    Declaration
    void Clear()

    Contains(string)

    Returns a boolean value indicating whether the specified text content is in the SmartArt text part collection.

    Declaration
    bool Contains(string text)
    Parameters
    Type Name Description
    string text

    The text to locate in the text part collection.

    Returns
    Type Description
    bool

    Returns true if the text is found in the collection; otherwise, false.

    IndexOf(IOfficeSmartArtTextPart)

    Returns the zero-based index of the first occurrence of the IOfficeSmartArtTextPart instance within the collection.

    Declaration
    int IndexOf(IOfficeSmartArtTextPart textPart)
    Parameters
    Type Name Description
    IOfficeSmartArtTextPart textPart

    The IOfficeSmartArtTextPart instance to locate in the collection.

    Returns
    Type Description
    int

    Returns the zero-based index of the first occurrence of IOfficeSmartArtTextPart within the collection, if found; otherwise, -1.

    Remove(IOfficeSmartArtTextPart)

    Removes the first occurrence of a specified IOfficeSmartArtTextPart instance from the SmartArt text part collection.

    Declaration
    void Remove(IOfficeSmartArtTextPart textPart)
    Parameters
    Type Name Description
    IOfficeSmartArtTextPart textPart

    Represents the IOfficeSmartArtTextPart instance to remove.

    RemoveAt(int)

    Removes the IOfficeSmartArtTextPart instance at the specified index of the SmartArt text part collection.

    Declaration
    void RemoveAt(int index)
    Parameters
    Type Name Description
    int index

    The zero-based index of the SmartArt text part to be removed.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved