Draw Line Across the Page

Contents
[ ]

Please take a look over following code snippet to accomplish this requirement.