RichEditDocument.getSubDocumentById(subDocumentId) Method
In This Article
Returns the sub-document with the specified identifier.
#Declaration
TypeScript
getSubDocumentById(
subDocumentId: number
): SubDocument
#Parameters
Name | Type | Description |
---|---|---|
sub |
number | A value that identifies the sub-document. |
#Returns
Type | Description |
---|---|
Sub |
The sub-document. |
#Remarks
// Gets sub-document that has the id 0
var subDocument = richEdit.document.getSubDocumentById(0);
Refer to the following section for more information: Document Elements.
See Also