SelText Property |
[Top] [Chapter] [Previous] [Next] |
Declaration string SelText; Description The property can be used to read the currently selected text as string. It does not save any special characters (such as object anchors) or formatting information. It works a lot faster than SaveToString since it does not have to use the text writer classes. You can also assign a value to this property to insert a string. SelText can be used within the event OnCompleteWord to implement text macros.
Note: To insert RTF or HTML formatted strings instead of SelText use LoadFromString. |