跳到主要内容

MoveToComment

Moves a cursor to the specified comment.

Syntax

expression.MoveToComment(sId);

expression - A variable that represents a Api class.

Parameters

NameRequired/OptionalData typeDefaultDescription
sIdRequiredstringThe comment ID.

Returns

This method doesn't return any data.

Example

window.Asc.plugin.executeMethod ("MoveToComment", ["1_631"]);