Show / Hide Table of Contents

Class FullScreenWindowRegion

Represents a region that captures a window (full frame or client area).

Inheritance
object
FullScreenWindowRegion
Implements
ICaptureRegion
IEquatable<FullScreenWindowRegion>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Zaya.Screenshot.Models
Assembly: Zaya.Screenshot.dll
Syntax
public sealed record FullScreenWindowRegion : ICaptureRegion, IEquatable<FullScreenWindowRegion>

Properties

| Edit this page View Source

CaptureClientArea

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
| Edit this page View Source

PixelFormat

Gets the desired pixel format for the captured frame. Default is Bgra32.

Declaration
public PixelFormat PixelFormat { get; init; }
Property Value
Type Description
PixelFormat
| Edit this page View Source

WindowHandle

Handle to the target window.

Declaration
public required nint WindowHandle { get; init; }
Property Value
Type Description
nint

Implements

ICaptureRegion
IEquatable<T>
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX