CameraCaptureUIPhotoCaptureSettings Klasse

Definition

Stellt Einstellungen für die Aufnahme von Fotos mit CameraCaptureUI bereit. Die Einstellungen umfassen Seitenverhältnis, Bildgröße, Format, Auflösung und ob das Zuschneiden durch die Benutzeroberfläche (UI) zulässig ist.

public ref class CameraCaptureUIPhotoCaptureSettings sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CameraCaptureUIPhotoCaptureSettings final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CameraCaptureUIPhotoCaptureSettings
Public NotInheritable Class CameraCaptureUIPhotoCaptureSettings
Vererbung
Object Platform::Object IInspectable CameraCaptureUIPhotoCaptureSettings
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)
App-Funktionen
microphone webcam

Hinweise

Um eine instance dieses Objekts abzurufen, rufen Sie die PhotoSettings-Eigenschaft ab.

Eigenschaften

AllowCropping

Bestimmt, ob das Zuschneiden von Fotos auf der Benutzeroberfläche für die Aufnahme eines Fotos aktiviert wird.

CroppedAspectRatio

Das Seitenverhältnis des aufgenommenen Fotos.

CroppedSizeInPixels

Die genaue Größe des aufgenommenen Fotos in Pixel.

Format

Bestimmt das Format, in dem aufgenommene Fotos gespeichert werden.

MaxResolution

Bestimmt die maximale Auflösung, die der Benutzer auswählen kann.

Gilt für: