Paragraph.GetScrollRange

table Paragraph.GetScrollRange ( 

string  ObjectName,

boolean Vertical = true )

Example 1

ver_scroll_range = Paragraph.GetScrollRange("Info Text", true);

Gets the range of the vertical scroll bar in the "Info Text" paragraph object and stores the range values in the table called "ver_scroll_range." The range values can be accessed by referencing ver_scroll_range.Min and ver_scroll_range.Max.

Example 2

hor_scroll_range = Paragraph.GetScrollRange("License Agreement", false);

Gets the range of the horizontal scroll bar in the "License Agreement" paragraph object and stores the range values in the table called "hor_scroll_range." The range values can be accessed by referencing hor_scroll_range.Min and hor_scroll_range.Max.

See also:  Related Actions