Grid extents alignment based on crop region

Why not just Element.SetParameterByName?