'Declaration Public Function CalcualteScrollPosition( _
ByVal currentScrollPositionThe image viewer scroll position in scroll bar space.As System.Windows.Point, _
ByVal offsetThe scroll offset in viewer space.As System.Windows.Point _
) As System.Windows.Point
public System.Windows.Point CalcualteScrollPosition(
System.Windows.Point currentScrollPosition,
System.Windows.Point offset
)
public: System.Windows.Point CalcualteScrollPosition(
System.Windows.Point currentScrollPosition,
System.Windows.Point offset
)
public:
System.Windows.Point CalcualteScrollPosition(
System.Windows.Point currentScrollPosition,
System.Windows.Point offset
)
Parameters
- currentScrollPosition
- The image viewer scroll position in scroll bar space.
- offset
- The scroll offset in viewer space.
Return Value
The new scroll position by moving the specified scroll position on specified offset in viewer space.