Dimension of Drafting View

Hi,

I am trying to create Grid line of one particular view.
For that I required the dimension of the View.
How to get the length and height of View or extreme of the view ?

The .AskViewBorders function will return the coordinates of the drafting view on the sheet. There is some code in the link below that shows it in action.

http://www.eng-tips.com/viewthread.cfm?qid=322064

Thanks for the help

Bhavik S.