[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.BiLevel

BiLevel Class

Represents a bi-level (black/white) effect.

Input colors whose luminance is less than the specified Threshold value are changed to black.

Input colors whose luminance are greater than or equal the specified value are changed to white.

The alpha effect values are unaffected by this effect.

Inheritance
BiLevel
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class BiLevel : ImageEffect
Public Class BiLevel
    Inherits ImageEffect

Properties

Name Description
Threshold

Gets or sets the luminance threshold for the Bi-Level effect.

Values greater than or equal to the threshold are set to white.

Values lesser than the threshold are set to black.

Allowed values are from 0 to 1, inclusive.

The default is 0.

Methods