Paragraph.GetScrollPos

number Paragraph.GetScrollPos ( 

string  ObjectName,

boolean Vertical = true )

Example 1

ver_scroll_position = Paragraph.GetScrollPos("Info Text", true);

Gets the current position of the vertical scroll bar in the "Info Text" paragraph object and stores it in the variable "ver_scroll_position."

Example 2

hor_scroll_position = Paragraph.GetScrollPos("License Agreement", false);

Gets the current position of the horizontal scroll bar in the "License Agreement" paragraph object and stores it in the variable "hor_scroll_position."

See also:  Related Actions