FormattedDocument.GenerateItems

Syntax:

GenerateItems(<>, <End>)

Parameters:

<> (optional)

Type: FormattedDocumentBookmark.
Bookmark specifies the beginning of the range, elements of which must be returned in the array.
If the bookmark is not set, then the elements will be selected from the very beginning of the document.

<End> (optional)

Type: FormattedDocumentBookmark.
Bookmark specifies the end of the range, elements of which must be returned in the array.
If the bookmark is not set, then the elements will be selected to the very end of the document.

Returned value:

Type: Array.
An array of items.

Description:

Obtains the exact set of elements within the range between the specified bookmarks. At the same time the document is changed, if necessary - the element are divided in the way so that the specified range contains the elements fully.

Availability:

Thin client, web-client, server, thick client, external connection.

    

1C:Enterprise Developer's Community