---
sidebar_label: ScreenshotOptions.fromSurface
---

# ScreenshotOptions.fromSurface property

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

#### Signature:

```typescript
interface ScreenshotOptions {
  fromSurface?: boolean;
}
```

#### Default value:

`true`