How can I get the vertical scroll offset?

SyntaxEditor for WPF Forum

Posted 8 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 (v2019.1 build 0683) was released 1 month ago, which was after this thread was created.

Add Comment

Please log in to a validated account to post comments.