add "line" and "to" param to modifyView API.