grayScale property

bool? grayScale
final

Render the document in greyscale.

When true, the viewer renders all page content (including images and annotations) using a greyscale colour palette, which can reduce eye strain and battery usage on AMOLED displays.

Maps to PdfActivityConfiguration$Builder.grayScale(boolean).

Implementation

final bool? grayScale;