PlainTextEditor object

 

PlainTextEditor provides the means to retrieve or set  the plain text properties of a text displayed by Outlook.

 

Returned by:

SafeInspector.PlainTextEditor

ReadingPane.PlainTextEditor

 

Properties

Methods

 


Derived from: IDispatch


Properties


CanUndo
Indicates whether the editor contains changes that can be backed out
 
 
CaretPosX
Indicates the horizontal position of the caret in the client area of the editor
 
 
CaretPosY
Indicates the vertical position of the caret in the client area of the editor
 
 
Handle

Returns the editor window handle (HWND). You can use this property if you need to send Windows messages directly to the editor bypassing the PlainTextEditor object.

  

 
HideSelection

Determines whether the visual indication of the selected text remains when focus shifts from the editor to another control

  

 
ReadOnly
Determines whether the user can change the text of the editor
 
 
SelLength
Specifies the number of characters that are selected
 
 
SelStart
Specifies the position of the first selected character in the text
 
 
SelText
Specifies the selected portion of the editor's text
 
 
Text

Specifies the text string that is displayed in the editor

  

 

Methods


Clear
Deletes all text from the editor
 
 
ClearSelection
Deletes the selected text from the editor
 
 
ClearUndo
Clears the undo buffer so that no changes to the text can be backed out
 
 
CopyToClipboard
Copies the selected text in the inspector to the Clipboard
 
 
CutToClipboard
Copies the selected text to the Clipboard in clear text format and then deletes the selection
 
 
PasteFromClipboard
Pastes the contents of the Clipboard into the memo, replacing the current selection
 
 
SelectAll
Selects all te xt in the editor
 
Undo
Backs out all changes in the undo buffer