INK_HIGH_CONTRAST_ADJUSTMENT enumeration (inkrenderer.h)

Specifies how the IInkD2DRenderer2 object draws ink (standard and modified) when system is in a contrast theme mode.

Syntax

typedef enum __MIDL___MIDL_itf_inkrenderer_0000_0000_0001 {
  USE_SYSTEM_COLORS_WHEN_NECESSARY,
  USE_SYSTEM_COLORS,
  USE_ORIGINAL_COLORS
} INK_HIGH_CONTRAST_ADJUSTMENT;

Constants

 
USE_SYSTEM_COLORS_WHEN_NECESSARY
For standard strokes, use selected color if contrast is sufficient against the background. Otherwise, use system color.

For highlighter strokes, use selected color if contrast is sufficient against the background. Otherwise, use system color.
USE_SYSTEM_COLORS
For standard strokes, use system color.

For highlighter strokes, use system highlighter color.
USE_ORIGINAL_COLORS
For standard strokes, use the selected color.

For highlighter strokes, use the selected color.

Requirements

Requirement Value
Minimum supported client Windows 11 [desktop apps only]
Minimum supported server None supported
Header inkrenderer.h

See also

Complex ink sample Simple ink sample Ink renderer interfaces Pen and stylus interactions