PDA

View Full Version : I Can't flip!!



Urushi
October 7, 2009, 09:56:31
Hello,Everyone

I'm worry.

I make a program like Flip-Vertical & Horizontal Example code for C#.
But It is not work!!

VisualStudio2008 NoDetect BuiltError!!

Please tell me anything reason or check point!!

Stefan Geissler
October 7, 2009, 12:30:03
Urushi,

You gave so few details about what you were doing, thus I would like to start guessing.
I guess, you created the frame filter, but you did not assign it to IC Imaging Control. You may try following code:

FrameFilter RotateFlipFilter;
RotateFlipFilter = ICImagingControl1.FrameFilterCreate("Rotate Flip", "");

if( RotateFlipFilter == null )
MessageBox.Show("Failed to create RotateFlipFilter");
else
ICImagingControl1.DeviceFrameFilters.Add(RotateFli pFilter);

The last line is the part, most programmers forget.

Urushi
October 8, 2009, 01:48:16
Thank you very much for your reply.

I can flip displey!!
I add below code in my source!!

icImagingControl1.DeviceFrameFilters.Add(RotateFli pFilter);


I think ,this line isn't exsist Rotate Flip C# sample code.

Thank you!!:clap: