ITextFrame

ITextFrame class

Represents a TextFrame.

The ITextFrame type exposes the following members:

Properties

Name Description
paragraphs Returns the list of all paragraphs in a frame.
Read-only IParagraphCollection.
text Gets or sets the plain text for a TextFrame.
Read/write string.
text_frame_format Returns the formatting object for this TextFrame object.
Read-only ITextFrameFormat.
hyperlink_queries Provides easy access to contained hyperlinks.
Read-only IHyperlinkQueries.
as_i_slide_component Allows to get base ISlideComponent interface.
Read-only ISlideComponent.
slide Returns the base slide.
Read-only IBaseSlide.
as_i_presentation_component Allows to get base IPresentationComponent interface.
Read-only IPresentationComponent.
presentation Returns the presentation.
Read-only IPresentation.

Methods

Name Description
highlight_text(text, highlight_color) Highlight all matches of sample in text frame text using specified color.
highlight_text(text, highlight_color, options) Highlight all matches of sample in text frame text using specified color.
join_portions_with_same_formatting() Joins runs with same formatting in all paragraphs.
highlight_regex(regex, highlight_color, options) Highlight all matches of regular expression in text frame text using specified color.

See Also