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

SubDocument.length Property

Gets the length of the sub-document.

Declaration

readonly length: number

Property Value

Type Description
number

The length of the sub-document.

Remarks

//Gets the main sub-document's content length
var mainSubDocumentLength = richEdit.document.mainSubDocument.length;

Refer to the following section for more information: Access a Sub-Document.

See Also