Table of Contents

Method ApplyDrawingTint

Namespace
DocWright.Layout
Assembly
DocWright.Layout.dll

ApplyDrawingTint(ColorRgb, int)

Applies a DrawingML a:tint transform (§20.1.2.3.34): the color moves toward white in linear RGB.

public static ColorRgb ApplyDrawingTint(ColorRgb color, int tint)

Parameters

color ColorRgb

The base color.

tint int

The tint amount in thousandths of a percent (100000 = identity).

Returns

ColorRgb

The tinted color.

Remarks

The DrawingML/WordprocessingML distinction described on ApplyDrawingShade(ColorRgb, int) applies here too.