Skip to main content

RichEditSelection.setActiveSubDocumentById(id) Method

Makes the specified sub-document active.

Declaration

setActiveSubDocumentById(
    id: number
): boolean

Parameters

Name Type Description
id number

The id of the target sub-document.

Returns

Type Description
boolean

true if the sub-document is made active; false if the sub-document with the specified id is not found.

Remarks

richEdit.selection.setActiveSubDocumentById(0);

Refer to the following section for more information: Client Selection.

See Also