KnownCameraGeneralProperties.SpecifiedCaptureOrientation property
Specifies the image orientation in the image metadata.
Syntax
public static Guid SpecifiedCaptureOrientation { get; }
Public Shared ReadOnly Property SpecifiedCaptureOrientation As Guid
public:
static property Guid SpecifiedCaptureOrientation {
Guid get();
}
Property value
Type: System.Guid [.NET] | Platform::Guid [C++]
The ID of the orientation value.
Remarks
Use this property to specify a rotation value in the image metadata. The property value is in units of degrees and must be a multiple of 90 degrees. This property does not rotate the encoded image; to specify the orientation of the encoded image, use the EncodeWithOrientation property.
This property is common to both the PhotoCaptureDevice and AudioVideoCaptureDevice classes. In the PhotoCaptureDevice class, the GetProperty class gets the current value of the property (of type System.Int32). The SetProperty method sets the property to a new value.
Not all values may be supported by each phone. Use the GetSupportedPropertyRange method to learn more about this property.
The AudioVideoCaptureDevice class also provides the GetProperty, SetProperty, and GetSupportedPropertyRange methods for use with this property.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
None supported |
Minimum supported phone |
Windows Phone 8 |
Namespace |
Windows.Phone.Media.Capture Windows::Phone::Media::Capture [C++] |
Metadata |
Windows.WinMD |
See also
KnownCameraGeneralProperties