Click or drag to resize

AtalaImageViewerScrollIntoView Method

Scrolls an image pixel into view if it is not currently within the viewable area.

Namespace:  Atalasoft.Imaging.Wpf
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public void ScrollIntoView(
	Point imagePixel,
	double padding
)

Parameters

imagePixel
Type: System.WindowsPoint
The image pixel to bring into view.
padding
Type: SystemDouble
The number of pixels around the viewable area that will trigger a scroll. If the image pixel is within the viewable area but falls within this padding, it will be scrolled to force it outside of the padded area.
See Also