ImageGlass.ImageBox.PerformActualSize C# (CSharp) Method

PerformActualSize() private method

Resets the zoom to 100%.
private PerformActualSize ( ImageBoxActionSources source ) : void
source ImageBoxActionSources The source that initiated the action.
return void
        private void PerformActualSize(ImageBoxActionSources source)
        {
            SizeMode = ImageBoxSizeMode.Normal;
            SetZoom(100, ImageBoxZoomActions.ActualSize | (Zoom < 100 ? ImageBoxZoomActions.ZoomIn : ImageBoxZoomActions.ZoomOut), source);
        }
ImageBox