Comments (5)
Do you mean dragging and resizing selection regions? If so, correct, this wasn't added to the core control.
Partly, this is to avoid bloat and piling on feature after feature that the majority of users won't use and partly because I didn't want to complicate the base control for when it needs to be extended to add any custom stuff. After all, one person wants to select something. Another person wants to select something and resize it. And someone else wants to select lots of things and resize lots of things.
I remember well the obscene size and bloat of some of the major 3rd party control vendors out there which is why I'm not trying to make this control fit every conceivable scenario. However, I do think it's probably time I rolled the resize functionality into the main control, it seems to be the most common user request.
from cyotek.windows.forms.imagebox.
Thanks for the wonderful library you seems to be genius. Your user controls are just perfect i am glad that you are providing it for free. Keep it up lot of blessings.
& Thanks for looking into it and any work around for now by which i can compile this functionality in core control?
from cyotek.windows.forms.imagebox.
I wouldn't go that far, but thanks for the compliment and I'm glad you enjoy the control.
If you are compiling the source yourself, you probably have two options.
The first, and easiest, option would be to take the ImageBoxEx
control from the demo project (and the DragHandle
, DragHandleAnchor
and DragHandleCollection
classes) and add them to the main ImageBox library, then change the visibility of each from internal
to public
. You'd probably want to change the namespace of each as well to remove the .Demo
suffix. Now compile the library and just use ImageBoxEx
where you would normally use ImageBox
.
(Or you could just create a new library project, add the four classes to that (along with the NuGet package) and then just reference your custom library in your code - that's probably the simplest solution of all)
The second and more complicated option is to add the 3 Drag*
classes (and modifications) as described above, and then merge the ImageBoxEx
control into the ImageBox
control. A lot of this will just be moving new properties, events, and methods so that shouldn't be too much of a problem. However, any override
method will need to be manually merged into the original method, so you don't break either the old functionality, or the new functionality.
The third option would be to wait until this source is updated, but in fairness I can't say when that would be - I need make sure the new API is a good fit and isn't going to cause issues down the line that would then involve breaking changes.
Edit: And I should probably try and fix disabling scrollbars bug that a couple of users have reported before I go about adding new features :)
from cyotek.windows.forms.imagebox.
Thank you so much Richard. I will try and let you know.. :)
Good day!
from cyotek.windows.forms.imagebox.
I don't know how better its gonna work but i compiled it successfully with all the events and properties of imageboxex
from cyotek.windows.forms.imagebox.
Related Issues (20)
- VirtualDraw and Scale\Transform HOT 2
- Swipe support? HOT 2
- Wrong selection area when maximizing HOT 2
- Creating and Zooming Graphics
- How to determinate a pixel in the imageBox (Mouse click) with total precision HOT 1
- How to get image Point use mouse position? HOT 1
- Solution to: Exception 'Out of Memory' while drawing a big image HOT 2
- Unable to Crop image HOT 1
- Add ability for transparent background color to be used
- Image graphics disappear when zooming out HOT 2
- Is this project still maintained? What about the nuget package? HOT 2
- Support. Net 5.0 HOT 2
- Wrong scrolling in CanPan method HOT 4
- How to save viewport as bitmap? HOT 1
- Π‘an't distinguish click and panning event HOT 1
- The image has moire patterns when scale 15% HOT 3
- Use 2 ImageBoxes side by side
- Gap bug with foreground color HOT 1
- There isn't a way to disable scrollbar HOT 2
- Keep painted drawing on Imagebox after zoom or pan HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cyotek.windows.forms.imagebox.