Skip to main content

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

get 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