SubDocumentCollectionBase Class

A collection of SubDocumentBase objects.

Declaration

export class SubDocumentCollectionBase extends SubDocumentCollection<SubDocumentBase>

Inheritance

Collection<T>
SubDocumentCollection<T>
SubDocumentCollectionBase

Properties

main Property

Returns the main sub-document.

Declaration

readonly main: SubDocumentBase

Property Value

Type Description
SubDocumentBase

The main sub-document.

Remarks

TIP

You can acces the main sub-document's properties directly at the document level.

var mainSubDocumentLength = richEdit.document.length;
// or 
var mainSubDocumentLength = richEdit.document.subDocuments.main.length; 
See Also