Reference·JavaScript · @bimworks/viewer2dJavaScript

ScreenshotOptions

Type alias in @bimworks/viewer2d.

API catalogue · @bimworks/viewer2d · Type alias

TypeScript#
type ScreenshotOptions = {
  annotations?: boolean;
  backgroundColor?: Color;
  includeText?: boolean;
};

Members#

Member Kind Description
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 …
backgroundColor Property Override the default background-color (which is #FFFFFF00, fully transparent)
includeText Property Whether to include the text labels or not, default = true

annotations#

TypeScript#
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#

TypeScript#
backgroundColor?: Color

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

includeText#

TypeScript#
includeText?: boolean

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