ImageGlass.ImageBox.CenterAt C# (CSharp) Method

CenterAt() public method

Centers the given point in the image in the center of the control
public CenterAt ( Point imageLocation ) : void
imageLocation Point The point of the image to attempt to center.
return void
        public virtual void CenterAt(Point imageLocation)
        {
            ScrollTo(imageLocation, RelativeCenterPoint);
        }

Same methods

ImageBox::CenterAt ( float x, float y ) : void
ImageBox::CenterAt ( int x, int y ) : void
ImageBox