'Declaration Public Function CalcualteScrollPosition( _
ByVal currentScrollPositionThe image viewer scroll position in scroll bar space.As System.Drawing.PointF, _
ByVal offsetThe scroll offset in viewer space.As System.Drawing.PointF _
) As System.Drawing.PointF
public System.Drawing.PointF CalcualteScrollPosition(
System.Drawing.PointF currentScrollPosition,
System.Drawing.PointF offset
)
public: System.Drawing.PointF CalcualteScrollPosition(
System.Drawing.PointF currentScrollPosition,
System.Drawing.PointF offset
)
public:
System.Drawing.PointF CalcualteScrollPosition(
System.Drawing.PointF currentScrollPosition,
System.Drawing.PointF 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.