GithubHelp home page GithubHelp logo

mayurjansari / cyotek.windows.forms.imagebox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cyotek/cyotek.windows.forms.imagebox

0.0 0.0 0.0 19.4 MB

The ImageBox is a custom control for displaying images. It supports zooming, scrolling, panning, region selection and much more!

Home Page: http://cyotek.com/blog/tag/imagebox

License: MIT License

C# 98.38% CSS 1.45% Batchfile 0.17%

cyotek.windows.forms.imagebox's Introduction

Cyotek ImageBox Control

About

The ImageBox is a lightweight owner drawn control for displaying images. It supports zooming, scrolling, panning, region selection and much more! In addition to the traditional mode of binding to an Image, you can also use a virtual mode, and provide your own custom drawing whilst retaining all the ImageBox functionality.

The ImageBox control also provides convenient helper methods for translating points, rectangles and sizes according to the current zoom level and scroll position of the control - this makes it easy to scale custom drawing to fit the control.

As well as the different behaviours offered, the ImageBox also supports a large number of display properties. The background of the control can display a solid colour, or a coloured grid in various sizes. You can also configure how the grid is to be drawn, for example just around the image bounds, or the full control bounds. Other options include the pixel grid, which is displayed when zooming in on an image to highlight each pixel, custom border styles for surrounding the image, and many other properties. You can also display text, and specifying formatting and alignment options.

Example Screenshots

ImageBox control demonstration

Virtual mode demonstration, where the ImageBox can be used without a backing image

The ImageBox can display a pixel grid when zooming in

License

The ImageBox control is licensed under the MIT License. See license.txt for the full text.

Further Reading

For more information on this control, see the articles tagged withimagebox at cyotek.com.

cyotek.windows.forms.imagebox's People

Contributors

cyotek avatar dahmage avatar teamalpha5441 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.