[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.BiLevel

Class BiLevel

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

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.

public class BiLevel : ImageEffect
Inheritance
object
BiLevel
Inherited Members
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()

Properties

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.

public float Threshold { get; set; }

Property Value

float

Methods

Equals(BiLevel)

protected bool Equals(BiLevel other)

Parameters

other BiLevel

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int