Author |
Topic |
|
Logo
Russia
6 Posts |
Posted - Jan 03 2013 : 13:43:07
|
1. I added in a demo Layers sample button to activate the Select function.
ImageEnView1.SetLayersBoxStyle (psSolid); ImageEnView1.SetLayersGripStyle (clBlack, clWhite, bsSolid, 5, iegsBox); Imageenview1.MouseInteract: = [miSelect]; / / go for rectangular area
However, the program selects a square rather than a rectangle (attachment).
How to select a rectangle.
2. How to select multiple pictures in ImageEnView for preview and printing.
Logo
|
|
w2m
USA
1990 Posts |
|
Logo
Russia
6 Posts |
Posted - Jan 06 2013 : 16:37:54
|
1. Doesn't work I posted //ImageEnView1.SetLayersBoxStyle(psSolid); //ImageEnView1.SetLayersGripStyle(clBlack, clWhite, bsSolid, 5, iegsBox); ImageEnView1.SetSelectionGripStyle(clWhite, clWhite, bsSolid, 5, true, iegsBox); Imageenview1.MouseInteract := [miSelect]; //go for rectangular area
any idea?
2. I am using the CROP but it increases my image after cropping. How take a picture as it is cut? Logo |
|
|
w2m
USA
1990 Posts |
Posted - Jan 06 2013 : 17:49:49
|
1. What does not work? You can only select a square because CheckBox9 (Aspect Ratio) is checked by default. Uncheck the Aspect Ratio checkbox then make a selection... you will be able to select a rectangle then.
2. I am using the CROP but it increases my image after cropping. How take a picture as it is cut? What do you mean? It is impossible that your image will be larger after cropping. Are you using ImageEnView1.Proc.CropSel?
In the layers demo add two buttons:
procedure Tfmain.Select1Click(Sender: TObject);
begin
ImageEnView1.SetSelectionGripStyle(clWhite, clWhite, bsSolid, 5, true, iegsBox);
ImageEnView1.MouseInteract := [miSelect];
end;
procedure Tfmain.Crop1Click(Sender: TObject);
begin
ImageEnView1.Proc.CropSel;
ImageEnView1.Update;
end;
Then when running the application uncheck the Aspect Ratio checkbox, then select the Select1 button, make a rectangular selection with the mouse, then select the Crop1 button.
William Miller Email: w2m@frontiernet.net EBook: http://www.imageen.com/ebook/ Apprehend: http://www.frontiernet.net/~w2m/index.html |
|
|
Logo
Russia
6 Posts |
Posted - Jan 07 2013 : 03:57:50
|
Thanks! It works.
Logo |
|
|
|
Topic |
|
|
|