TextFrame

TextFrame class

Represents a TextFrame.

public sealed class TextFrame : ITextFrame

Properties

NameDescription
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.
Presentation { get; }Returns the parent presentation of a TextFrame. Read-only IPresentation.
Slide { get; }Returns the parent slide of a TextFrame. Read-only IBaseSlide.
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 regular expression with specified string.
ReplaceText(string, string, ITextSearchOptions, IFindResultCallback)Replaces all occurrences of the specified text with another specified text.

See Also