[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ColorChange

Class ColorChange

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

Represents a color change effect.

Instances of ColorFrom are replaced with instances of ColorTo.

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

Properties

ColorFrom

Gets the color that is being replaced with ColorTo.

public SolidColor ColorFrom { get; }

Property Value

SolidColor

ColorTo

Gets the color which replaces the ColorFrom.

public SolidColor ColorTo { get; }

Property Value

SolidColor

UseAlpha

Gets or sets whether alpha values are considered for the effect.

The effect alpha values are considered if true, otherwise they are ignored.

The default is true.

public bool UseAlpha { get; set; }

Property Value

bool

Methods

Equals(ColorChange)

protected bool Equals(ColorChange other)

Parameters

other ColorChange

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int