Skip to main content
This API creates or updates the current lasso selection using a rectangle (pixel coordinates). After calling it successfully, you can call other lasso-related APIs (for example getLassoRect() / getLassoElements()). The input rect must stay within the page size: left and top can be 0, and right and bottom can be equal to the maximum page size, but they must not exceed the page bounds. Get the page size through PluginFileAPI.getPageSize.
Parameters Returns

Example