How can I get the vertical scroll offset?

SyntaxEditor for WPF Forum

Posted 9 years ago by Peter Luo - AIMNEXT
Version: 11.1.0545
Avatar
Hi,

How can I get the vertical scroll offset?

I can get the horizontal scroll offset by FirstVisibleX, but what about the vertical?
Now I get the offset by "FirstVisiblePosition.Line * viewline's height", because the font size is fixed in my application, is there another better way to do this?

Thanks a lot!
The latest build of this product (v2020.1.1) was released 14 days ago, which was after this thread was created.

Add Comment

Please log in to a validated account to post comments.