function GetSelection(): ApiRange
Returns an object that represents the selected range.
ApiRange
var oWorksheet = Api.GetActiveSheet(); oWorksheet.GetSelection().SetValue("selected");