Upvote:5
Your university admission depends on your grades.
Your visa application depends on the perception that you will follow the laws while you are in Canada and that you will leave when your visa ends.
If you have the university admission, the grades won't be a problem any more.