TextFrame
TextFrame class
Represents a TextFrame.
getHyperlinkQueries
Name | Description |
---|---|
getHyperlinkQueries () | Provides easy access to contained hyperlinks. Read-only IHyperlinkQueries. |
Returns: HyperlinkQueries
getParagraphs
Name | Description |
---|---|
getParagraphs () | Returns the list of all paragraphs in a frame. Read-only IParagraphCollection. |
Returns: ParagraphCollection
getPresentation
Name | Description |
---|---|
getPresentation () | Returns the parent presentation of a TextFrame. Read-only IPresentation. |
Returns: Presentation
getSlide
Name | Description |
---|---|
getSlide () | Returns the parent slide of a TextFrame. Read-only IBaseSlide. |
Returns: MasterHandoutSlide, BaseSlide, LayoutSlide, Slide, MasterSlide, NotesSlide, MasterNotesSlide
getText
Name | Description |
---|---|
getText () | Gets or sets the plain text for a TextFrame. Read/write String. Value: The text. |
Returns: String
getTextFrameFormat
Name | Description |
---|---|
getTextFrameFormat () | Returns the formatting object for this TextFrame object. Read-only ITextFrameFormat. |
Returns: TextFrameFormat
highlightRegex
Name | Description |
---|---|
highlightRegex (String, Color, TextHighlightingOptions) | Highlight all matches of regular expression in text frame text using specified color. |
Parameters:
Name | Type | Description |
---|---|---|
regex | String | Text of regular expression to get text to highlight. |
highlightColor | Color | Highlighting color. |
options | TextHighlightingOptions | Highlighting options. |
Returns: void
highlightText
Name | Description |
---|---|
highlightText (String, Color) | Highlight all matches of sample in text frame text using specified color. |
Parameters:
Name | Type | Description |
---|---|---|
text | String | Text sample to highlight. |
highlightColor | Color | Highlighting color. |
Returns: void
highlightText
Name | Description |
---|---|
highlightText (String, Color, TextHighlightingOptions) | Highlight all matches of sample in text frame text using specified color. |
Parameters:
Name | Type | Description |
---|---|---|
text | String | Text sample to highlight. |
highlightColor | Color | Highlighting color. |
options | TextHighlightingOptions | Highlighting options. |
Returns: void
joinPortionsWithSameFormatting
Name | Description |
---|---|
joinPortionsWithSameFormatting () | Joins runs with same formatting in all paragraphs. |
Returns: void
setText
Name | Description |
---|---|
setText (String) | Gets or sets the plain text for a TextFrame. Read/write String. Value: The text. |
Returns: void