GetPosition(ByRef LeftPos As Integer, ByRef RightPos As Integer, ByRef TopPos As Integer, ByRef BottomPos As Integer)

DocBox object

Returns the coordinates (in pixels) of inner frame of the DocBox, relative to the upper left corner of the document.

The DocBox object