rvico TRichView Reference | TRichViewEdit

TCustomRichViewEdit.InsertOEMTextFromFile

Top  Previous  Next

Loads text file (in OEM-defined character set) FileName and inserts its content in the position of caret.

function InsertOEMTextFromFile(const FileName: TRVUnicodeString):Boolean;

(changed in version 18)

"OEM" stands for "original equipment manufacturer". This is character set of MS DOS.

The inserted text (one or more text items) has current text and paragraph styles.

Method type: editstyle editing-style method for insertion.

unicode Unicode note: File content must be in OEM charset. Text will be converted to Unicode.

 

Return value:

"Was reading from from file successful?"

 

See also methods:

InsertTextFromFile;

InsertText.

See also properties:

CurParaStyleNo;

CurTextStyleNo.

See also properties of TRVStyle:

TextStyles;

ParaStyles;

SpacesInTab.

See also:

Saving and loading;

Inserting items in position of caret.


TRichView © trichview.com