ImageGlass.ImageBox.PerformZoom C# (CSharp) Method

PerformZoom() private method

Performs a zoom action.
private PerformZoom ( ImageBoxZoomActions action, ImageBoxActionSources source, bool preservePosition ) : void
action ImageBoxZoomActions The action to perform.
source ImageBoxActionSources The source that initiated the action.
preservePosition bool true if the current scrolling position should be preserved relative to the new zoom level, false to reset.
return void
        private void PerformZoom(ImageBoxZoomActions action, ImageBoxActionSources source, bool preservePosition)
        {
            PerformZoom(action, source, preservePosition, CenterPoint);
        }

Same methods

ImageBox::PerformZoom ( ImageBoxZoomActions action, ImageBoxActionSources source, bool preservePosition, Point relativePoint ) : void
ImageBox