CountOfVisibleLines Property (VBA Add-In Object Model)

Returns a Long containing the number of lines visible in a code pane. Read-only.