ITextFrame

ITextFrame interface

Represents a TextFrame.

public interface ITextFrame : ISlideComponent

Properties

NameDescription
AsISlideComponent { get; }Allows to get base ISlideComponent interface. Read-only ISlideComponent.
HyperlinkQueries { get; }Provides easy access to contained hyperlinks. Read-only IHyperlinkQueries.
Paragraphs { get; }Returns the list of all paragraphs in a frame. Read-only IParagraphCollection.
ParentCell { get; }Returns the parent cell or null if the parent object does not implement the ICell interface. Read-only ICell.
ParentShape { get; }Returns the parent shape or null if the parent object does not implement the IShape interface Read-only IShape.
Text { get; set; }Gets or sets the plain text for a TextFrame. Read/write String.
TextFrameFormat { get; }Returns the formatting object for this TextFrame object. Read-only ITextFrameFormat.

Methods

NameDescription
HighlightRegex(Regex, Color, IFindResultCallback)Highlights all matches of the regular expression with the specified color.
HighlightText(string, Color)Highlights all matches of the sample text with the specified color.
HighlightText(string, Color, ITextSearchOptions, IFindResultCallback)Highlights all matches of the sample text with the specified color.
JoinPortionsWithSameFormatting()Joins runs with same formatting in all paragraphs.
ReplaceRegex(Regex, string, IFindResultCallback)Replaces all matches of the regular expression with the specified string.
ReplaceText(string, string, ITextSearchOptions, IFindResultCallback)Replaces all occurrences of the specified text with another specified text.
SplitTextByColumns()Splits the text content of the ITextFrame into an array of strings, where each element corresponds to a separate text column within the frame.

See Also