ImageGlass.ImageBox.CenterToImage C# (CSharp) Method

CenterToImage() public method

Resets the viewport to show the center of the image.
public CenterToImage ( ) : void
return void
        public virtual void CenterToImage()
        {
            AutoScrollPosition = RelativeCenterPoint;
        }
ImageBox