Skip to main content
All docs
V26.1
  • TextArea Members

    Allows you to access and manipulate text.

    Constructors

    Name Description
    TextArea() Initializes a new instance of the TextArea class.
    TextArea(String, TextParagraphProperties) Initializes a new instance of the TextArea class with specified settings.
    TextArea(String) Initializes a new instance of the TextArea class with specified settings.

    Properties

    Name Description
    Level1ParagraphProperties Gets or sets the paragraph properties for level 1 paragraphs in the text area. Inherited from OfficeTextArea.
    Level2ParagraphProperties Gets or sets the paragraph properties for level 2 paragraphs in the text area. Inherited from OfficeTextArea.
    Level3ParagraphProperties Gets or sets the paragraph properties for level 3 paragraphs in the text area. Inherited from OfficeTextArea.
    Level4ParagraphProperties Gets or sets the paragraph properties for level 4 paragraphs in the text area. Inherited from OfficeTextArea.
    Level5ParagraphProperties Gets or sets the paragraph properties for level 5 paragraphs in the text area. Inherited from OfficeTextArea.
    Level6ParagraphProperties Gets or sets the paragraph properties for level 6 paragraphs in the text area. Inherited from OfficeTextArea.
    Level7ParagraphProperties Gets or sets the paragraph properties for level 7 paragraphs in the text area. Inherited from OfficeTextArea.
    Level8ParagraphProperties Gets or sets the paragraph properties for level 8 paragraphs in the text area. Inherited from OfficeTextArea.
    Level9ParagraphProperties Gets or sets the paragraph properties for level 9 paragraphs in the text area. Inherited from OfficeTextArea.
    ParagraphProperties Gets or sets paragraph properties for paragraphs in the text area. Inherited from OfficeTextArea.
    Paragraphs Returns a collection of paragraphs in the text area. Inherited from OfficeTextArea.
    Properties Gets or sets the text area properties.
    Text Gets or sets the text of a text run string. Inherited from OfficeTextArea.

    Methods

    Name Description
    Clone() Creates a copy of the current object.
    Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
    Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
    FindText(String, TextSearchOptions) Inherited from OfficeTextArea.
    GetHashCode() Serves as the default hash function. Inherited from Object.
    GetType() Gets the Type of the current instance. Inherited from Object.
    MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
    ModifyTextProperties(TextRange, TextProperties) Creates a text run that matches to the given text range and applies the specified text properties to it. Properties to apply should not be null. Inherited from OfficeTextArea.
    ModifyTextProperties(IList<TextRange>, TextProperties) Applies text properties to the specified text ranges. Properties to apply should not be null. Inherited from OfficeTextArea.
    ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
    RemoveText(TextRange) Removes the specified text range from the text area. Inherited from OfficeTextArea.
    RemoveText(IList<TextRange>) Removes the specified text ranges from the text area. Inherited from OfficeTextArea.
    ReplaceText(TextRange, String) Replaces the specified text range with new text. Inherited from OfficeTextArea.
    ReplaceText(IList<TextRange>, String) Replaces the specified text ranges with new text. Inherited from OfficeTextArea.
    ReplaceText(String, String, TextSearchOptions) Replaces all occurrences of the specified text with new text. You can also specify search options. Inherited from OfficeTextArea.
    ToString() Returns a string that represents the current object. Inherited from Object.
    See Also