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

RichEditSelection.setActiveSubDocumentById(id) Method

Makes the specified sub-document active.

Declaration

setActiveSubDocumentById(
    id: number
): boolean

Parameters

Name Type Description
id number

An integer value identifying the target sub-document by its id.

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