|Top Previous Next|
These methods Insert text from the Clipboard in the position of caret
PasteTextA pastes text in CF_TEXT format. PasteText and PasteTextW paste text in CF_UNICODETEXT.
In modern versions of Windows, Windows automatically converts Unicode and ANSI text in the Clipboard to each other, using the language of the keyboard layout that was used at the moment of copying, so using PasteTextA does not make sense.
These methods do nothing if the Clipboard does not contain text.
Text from the Clipboard may contain special characters: CR, LF, TAB, FF (#13, #10, #9, #12). #9 characters may be inserted as tabulators, depending on value of SpacesInTab property of the linked RVStyle component. #12 characters add page breaks. All possible line breaks modes (CR, LF, CR+LF, LF+CR) are supported. PasteTextW supports the Unicode byte order marks characters (if it's present, it must be the first character).
Methods type: editing-style method for insertion.
▪PasteTextA: itext from the Clipboard will be converted to Unicode.
See also methods:
See also properties:
See also properties of TRVStyle:
TRichView © trichview.com