Skip to main content
Version: 19.7.2

ScreenshotOptions.fromSurface property

Capture the screenshot from the surface, rather than the view.

Signature:

interface ScreenshotOptions {
fromSurface?: boolean;
}

Default value:

true