[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ImageEffectList.AddDuotone

AddDuotone Method

AddDuotone(UserColor, UserColor)

Adds a new Duotone effect into the list.

Declaration
public Duotone AddDuotone(UserColor color1, UserColor color2)
Public Function AddDuotone(color1 As UserColor, color2 As UserColor) As Duotone
Parameters
Type Name Description
UserColor color1

The first user color to combine with color2 through a linear interpolation to determine the new color for pixels.

UserColor color2

The second user color to combine with color1 through a linear interpolation to determine the new color for pixels.

Returns
Type Description
Duotone

The inserted Duotone effect.