OtherScreenshotOptionsScreenshotOptions.fromSurfaceVersion: NextOn this pageScreenshotOptions.fromSurface propertyCapture the screenshot from the surface, rather than the view.Signature:interface ScreenshotOptions { fromSurface?: boolean;}Default value:true