Skip to content
Version 2.32.0
↓ Get the launcher

CaptureRequest.Aspect property

The photo’s shape (for example 9:16 portrait); null = the window’s own shape (the default, unchanged behaviour). The camera renders straight into a target of that shape — never a crop. Its long side is the window’s long side × Scale and the short side follows the shape (see OutputSize). The photo frames the largest rectangle of the shape centred in the on-screen view, so a frame guide drawn with GuideRect shows exactly what will be in the photo. Must be a valid shape (IsValid), or the capture fails with a readable error.

public CaptureAspect? Aspect { get; set; }