Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

License

NotificationsYou must be signed in to change notification settings

cyotek/Cyotek.Windows.Forms.ImageBox

Repository files navigation

About

TheImageBox is a lightweight owner drawn control for displaying images. Itsupports zooming, scrolling, panning, region selection and much more! Inaddition to the traditional mode of binding to anImage, you can also use avirtual mode, and provide your own custom drawing whilst retaining all theImageBox functionality.

TheImageBox control also provides convenient helper methods for translatingpoints, rectangles and sizes according to the current zoom level and scrollposition of the control - this makes it easy to scale custom drawing to fit thecontrol.

As well as the different behaviours offered, theImageBox also supports alarge number of display properties. The background of the control can display asolid colour, or a coloured grid in various sizes. You can also configure howthe grid is to be drawn, for example just around the image bounds, or the fullcontrol bounds. Other options include the pixel grid, which is displayed whenzooming in on an image to highlight each pixel, custom border styles forsurrounding the image, and many other properties. You can also display text, andspecifying 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

TheImageBox control is licensed under the MIT License. Seelicense.txt forthe full text.

Further Reading

For more information on this control, see thearticles tagged withimagebox atcyotek.com.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors4

  •  
  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp