Skip to main content
A newer version of this page is available. .

RichEditDocument.subDocuments Property

Returns the document’s sub-documents.

Declaration

readonly subDocuments: SubDocument[]

Property Value

Type Description
SubDocument[]

An array of sub-documents.

Remarks

A document can contain the following sub-documents:

  • Main sub-document;
  • Headers and footers;
  • Text boxes.
// Gets all sub-documents
var subDocuments = richEdit.document.subDocuments;

Refer to the following section for more information: Document Elements.

See Also