TextDocument

Properties:

LineSeparator
Output
Parameters
ReadOnly
TemplateLanguageCode
UsedFileName

Methods:

AddLine
BeginReading
BeginWriting
Clear
DeleteLine
GetArea
GetLine
GetText
InsertLine
LineCount
Put
Read
ReplaceLine
SetFileType
SetText
Show
Write

Constructors:

Default

Description:

Text document is used to work with texts. You can use this object to get and save a text in the file, work with lines, open a text in 1C:Enterprise text editor.

Availability:

Thin client, web-client, server, thick client, external connection.
Serializable. Can be used in attributes of managed form. The given object may be serialized to/from XDTO. The XDTO type correspoding to this object is defined in {http://v8.1c.ru/8.1/data/txtedt} namespace. XDTO type name: TextDocument.

See also:

TextDocument, method GetArea
TextDocument, method Put

    

1C:Enterprise Developer's Community