|
ReadingPane object encapsulates the Reading
Pane shown by an Outlook Explorer.
Returned by:
SafeExplorer.ReadingPane
The example below highlights the word
"Redemption" in the preview pane:
wdColorYellow = 65535
set sExplorer = CreateObject("Redemption.SafeExplorer")
sExplorer.Item = Application.ActiveExplorer
set objDoc = sExplorer.ReadingPane.WordEditor
set objFind = objDoc.Content.Find
objFind.HitHighlight "Redemption", wdColorYellow, , false, true |
|
Derived from:
IDispatch
|
|
Properties |
|
HTMLEditor |
returns
the
IHTMLDocument2 object, read only.
This is the equivalent of the Inspector.HTMLEditor object in OOM.
Note: Outlook 2007 and higher use the Word
editor, therefore this property under Outlook 2007 or higher will always
return NULL.
|
|
PlainTextEditor |
Returns the
PlainTextEditor object
representing the plain text editor. Note that due to the internal
implementation of the plain text/RTF editor in Outlook, this object will
work both for the plain text and RTF inspectors.
|
|
RTFEditor |
Returns the
RTFEditor object representing the RTF
editor. Note that due to the internal implementation of the plain
text/RTF editor in Outlook, this object will work both for the plain
text and RTF inspectors.
Note: Outlook 2007 and higher use
the Word
editor, therefore this property under Outlook 2007 or higher will always
return NULL.
|
|
SelText |
String, read-only.
Returns the plain text version of the selection text.
|
|
Text |
String, read-only.
Returns the plain text displayed in the reading pane.
|
|
WordEditor |
Returns the
Word.Document object representing the item displayed by the
reading pane.
Outlook 2007 and higher always use the Word editor.
This property is null in Outlook 2003 or older.
|
|
|
|