Enum WindowCaptureMode
Specifies how window capture handles window size changes.
public enum WindowCaptureMode
Fields
OriginalSize = 0Keep capturing a region matching the original window size even if a user enlarges/shrinks a window. New window content will be clipped if it's larger than original size or background windows' content will be visible if it's smaller than original size. The output resolution always remains the same.
Resize = 1Always capture the complete window content even if a user resizes a window. Then the captured region is resized to the output resolution, keeping aspect ratio, to a pillarbox/letterbox image if necessary. Because images with window content are resized, it may not be as sharp as the original image. The output resolution always remains the same.