Hello,
After further investigation, you could detect to Bitmap's values using delegates and non-blocking threads, please refer to the following code example:
public delegate void DelegateWithParameters(PreviewView p);
// implement the delegate method
private void DetectBitMap(PreviewView p)
{
while (true)
{
if (p.Bitmap != null)
{
...
}
}
}
// invoke this method
DelegateWithParameters delFoo =
new DelegateWithParameters(DetectBitMap);
delFoo.BeginInvoke(viewFinder, null, null);
Best Regards,
Alec Liu.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.