ImageViewerControl 1.0.0

dotnet add package ImageViewerControl --version 1.0.0
                    
NuGet\Install-Package ImageViewerControl -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ImageViewerControl" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ImageViewerControl" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="ImageViewerControl" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ImageViewerControl --version 1.0.0
                    
#r "nuget: ImageViewerControl, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ImageViewerControl@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ImageViewerControl&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=ImageViewerControl&version=1.0.0
                    
Install as a Cake Tool

# ImageViewer Control

A versatile .NET Windows Forms control designed for viewing images with support for zooming, panning, rotation, and more.

## Features

- **Zoom In/Out**: Use the mouse wheel to adjust image scale (0.1x - 5x)

- **Pan Navigation**: Drag the image to reposition it within the container

- **Rotate**: Rotate images using specific methods or via middle-click double-tap

- **Auto-fit**: Automatically scales images when loaded and on window resize

![.Net](https://img.shields.io/badge/.NET-5C2D91?style=for-the-badge\&logo=.net\&logoColor=white)

## Author

- [@kali-dash](https://github.com/kali-dash)

## License

[MIT](https://choosealicense.com/licenses/mit/)

## Usage Guide

### Adding Controls to Your Application

1. Create a new Windows Forms project in Visual Studio.

2. Add this ImageViewerControl component through the designer:

  - Right-click Toolbox > Choose Items...

  - Browse to and add the compiled .dll

3. Or manually instantiate it via code:


Imports System.IO



Dim imgCtrl As New ImageViewerControl.ImageViewerControl()

' Load an image from file path with extension

imgCtrl.LoadImage("C:\\path\\to\\image.jpg")



Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 479 7/22/2025

Initial release.