Selection.store

void store (Channel into, SelectionType combination)

Parameters

into The channel to save the selection to.
combination How to add the selection to the existing contents of the channel.

Description

Saves the selection as a channel.