ChangeFloatingObjectLockAnchorCommand.execute(lockAnchor) Method
In This Article
Executes the ChangeFloatingObjectLockAnchorCommand command with the specified parameter.
#Declaration
TypeScript
execute(
lockAnchor: boolean
): boolean
#Parameters
Name | Type | Description |
---|---|---|
lock |
boolean |
|
#Returns
Type | Description |
---|---|
boolean |
|
#Remarks
Usage example (it is implied that selection is set to a floating object):
richEdit.commands.changeFloatingObjectLockAnchor.execute(true);
See Also