Thank for your solution.
My project reference have "Microsoft.Phone.dll".
I place the caret to the PhotoCamera and use context menu item "Go to definition". and i get this:
#region Assembly Microsoft.Phone.dll, v2.0.50727
#endregion
using System;
using System.Collections.Generic;
using System.Security;
namespace Microsoft.Devices
{
[SecuritySafeCritical]
public sealed class PhotoCamera : Camera
{
public PhotoCamera();
public IEnumerable<captureresolution> AvailablePreviewBufferResolutions { get; internal set; }
public FlashMode FlashMode { get; set; }
public CaptureResolution PreviewBufferResolution { get; set; }
public YCrCbPixelLayout YCrCbPixelLayout { get; }
public event EventHandler<cameraoperationcompletedeventargs> AutoFocusCompleted;
public event EventHandler<cameraoperationcompletedeventargs> CaptureCompleted;
public event EventHandler<contentreadyeventargs> CaptureImageAvailable;
public event EventHandler CaptureStarted;
public event EventHandler<contentreadyeventargs> CaptureThumbnailAvailable;
public void CancelFocus();
public void CaptureImage();
public void Focus();
public void GetPreviewBufferArgb32(int[] pixelData);
public void GetPreviewBufferY(byte[] pixelData);
public void GetPreviewBufferYCrCb(byte[] pixelData);
public bool IsFlashModeSupported(FlashMode mode);
}
}
</contentreadyeventargs></contentreadyeventargs></cameraoperationcompletedeventargs></cameraoperationcompletedeventargs></captureresolution></t>
I don't see IsFocusAtPointSupported property and FocusAtPoint function.
Please, help me!
Microsoft Visual C# 2010
Microsoft Windows Phone Developer Tools 7.1 (Beta) - ENU
Microsoft Visual Studio 2010 Ultimate - ENU Service Pack 1.