IScreenCapture.PlanSize method
The size CaptureAsync will write for request on the current window — scale caps, the photo shape (Aspect) and the GPU’s texture limit included — so a plugin can show the REAL output size before the shot. Empty when the scale or the shape is invalid. Only the out-of-memory retry at 2× (after a failed 4× grab) can still make the written image smaller. Call from the main thread.
public CaptureSize PlanSize(CaptureRequest request)See Also
Section titled “See Also”- struct CaptureSize
- record CaptureRequest
- interface IScreenCapture
- namespace Stellar.Abstractions.Services