---
title: ScreenshotOptions
summary: Type alias in @bimworks/viewer2d.
order: 10
languages: [javascript]
sdk-package: JavaScript · @bimworks/viewer2d
---

# ScreenshotOptions

[[page:reference/javascript/api|API catalogue]] · `@bimworks/viewer2d` · Type alias

````typescript sdk=js sdk-namespace="@bimworks/viewer2d"
type ScreenshotOptions = {
  annotations?: boolean;
  backgroundColor?: Color;
  includeText?: boolean;
};
````



## Members

| Member | Kind | Description |
|---|---|---|
| [[page:reference/javascript/bimworks-viewer2d/screenshotoptions-7a0a615c#member-annotations-5ad945a3fb1a|annotations]] | Property | Whether to include the template annotations shown (annotation layers, their compact states), default = true. Cards are not drawn, nor images by URL inside a … |
| [[page:reference/javascript/bimworks-viewer2d/screenshotoptions-7a0a615c#member-backgroundcolor-2065161b52d7|backgroundColor]] | Property | Override the default background-color (which is #FFFFFF00, fully transparent) |
| [[page:reference/javascript/bimworks-viewer2d/screenshotoptions-7a0a615c#member-includetext-4d3348def033|includeText]] | Property | Whether to include the text labels or not, default = true |

## `annotations` {#member-annotations-5ad945a3fb1a}

````typescript sdk=js sdk-namespace="@bimworks/viewer2d"
annotations?: boolean
````

Whether to include the template annotations shown (annotation layers, their compact states), default = true.
Cards are not drawn, nor images by URL inside a template

## `backgroundColor` {#member-backgroundcolor-2065161b52d7}

````typescript sdk=js sdk-namespace="@bimworks/viewer2d"
backgroundColor?: Color
````

Override the default background-color (which is #FFFFFF00, fully transparent)

## `includeText` {#member-includetext-4d3348def033}

````typescript sdk=js sdk-namespace="@bimworks/viewer2d"
includeText?: boolean
````

Whether to include the text labels or not, default = true
