Class FullScreenWindowRegion
Represents a region that captures a window (full frame or client area).
Inherited Members
Namespace: Zaya.Screenshot.Models
Assembly: Zaya.Screenshot.dll
Syntax
public sealed record FullScreenWindowRegion : ICaptureRegion, IEquatable<FullScreenWindowRegion>
Properties
| Edit this page View SourceCaptureClientArea
When true, captures only the client area (excludes title bar and borders).
When false, captures the full window as returned by Windows Graphics Capture.
Default is false.
Declaration
public bool CaptureClientArea { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
PixelFormat
Gets the desired pixel format for the captured frame. Default is Bgra32.
Declaration
public PixelFormat PixelFormat { get; init; }
Property Value
| Type | Description |
|---|---|
| PixelFormat |
WindowHandle
Handle to the target window.
Declaration
public required nint WindowHandle { get; init; }
Property Value
| Type | Description |
|---|---|
| nint |