clientHeight Property
Returns a Long that represents the height in pixels of a specified object without any margin, border, scroll bar, or padding settings that have been applied.
expression.clientHeight
expression Required. An expression that returns one of the objects in the Applies To list.
Example
The following example displays a message containing the height, width, top, and left measurements of the body of the active document.
Sub GetClientInfo()
Dim objBody As FPHTMLBody
Set objBody = ActiveDocument.body
With objBody
MsgBox "height" & vbTab & .clientHeight & vbCrLf & _
"width" & vbTab & .clientWidth & vbCrLf & _
"top" & vbTab & .clientTop & vbCrLf & _
"left" & vbTab & .clientLeft & vbCrLf
End With
End Sub