T O P I C R E V I E W |
graph_man |
Posted - Jun 01 2017 : 19:10:33 Hi, Is ability to set background color to selection? This feature should work at selection only (not IEView->Pro->Fill) |
12 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - Jun 12 2017 : 17:51:29 > I need a selection area to be colored. But not canvas. Only selected area. > If you deselect - the colored area should not remain.
The canvas in the OnDrawCanvas event is not the image canvas, but the control canvas, so it does not affect the image.
>> For movement of the mouse you will need to invalidate the control to trigger OnDrawCanvas. > > How to do that?
ImageEnView1.Invalidate();
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
graph_man |
Posted - Jun 12 2017 : 03:58:05 I need a selection area to be colored. But not canvas. Only selected area. If you deselect - the colored area should not remain.
How to do that?
ps > For movement of the mouse you will need to invalidate the control to trigger OnDrawCanvas.
How to do that? |
xequte |
Posted - Jun 11 2017 : 19:35:16 Hi
The process should be quite straightforward. Which part are you having difficulty with?
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
graph_man |
Posted - Jun 11 2017 : 15:25:10 Send me please an example code. |
graph_man |
Posted - Jun 06 2017 : 18:01:04 > Please try it
What I need to try? |
xequte |
Posted - Jun 06 2017 : 17:54:57 Hi
Please try using the instructions above and let us know if you have any difficulty.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
graph_man |
Posted - Jun 05 2017 : 06:09:56 Send me please an example. |
xequte |
Posted - Jun 04 2017 : 21:00:32 Resizing and clearing should automatically call the OnDrawCanvas event. For movement of the mouse you will need to invalidate the control to trigger OnDrawCanvas.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
graph_man |
Posted - Jun 04 2017 : 08:05:29 How to be at moving, resizing and clearing? |
xequte |
Posted - Jun 04 2017 : 02:10:02 Hi
In that case, just paint it onto the canvas in the OnDrawCanvas event:
https://www.imageen.com/help/TImageEnView.OnDrawCanvas.html
Nigel Xequte Software www.xequte.com nigel@xequte.com |
graph_man |
Posted - Jun 02 2017 : 19:50:11 I need to get it automatically at selection, resizing and moving selection. |
xequte |
Posted - Jun 02 2017 : 16:01:12 Hi
Not a built in method, but just get the selection(ImageEnView1.SelectedRect) and draw a rect directly to the canvas (ImageEnView1.IEBitmap.Canvas)
Nigel Xequte Software www.xequte.com nigel@xequte.com
|