'Declaration Public Function SetFocusedIndexByLocation( _
ByVal locationThe location in viewer (control) space.As System.Windows.Point, _
ByVal disableAutoScrollToPageA value indicating whether the viewer should not scroll to the foused page automatically.As Boolean _
) As Boolean
public bool SetFocusedIndexByLocation(
System.Windows.Point location,
bool disableAutoScrollToPage
)
public: bool SetFocusedIndexByLocation(
System.Windows.Point location,
bool disableAutoScrollToPage
)
public:
bool SetFocusedIndexByLocation(
System.Windows.Point location,
bool disableAutoScrollToPage
)
Parameters
- location
- The location in viewer (control) space.
- disableAutoScrollToPage
- A value indicating whether the viewer should not scroll to the foused page automatically.
Return Value
True if focused index is changed; otherwise, false.