[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Luminance

Luminance Class

Represents a luminance effect.

Brightness linearly shifts all colors closer to white or black.

Contrast scales all colors to be either closer or further apart.

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

Properties

Name Description
Brightness

Gets or sets the value to change the brightness.

Allowed values are from -1 (darkest) to 1 (lightest), inclusive.

The default is 0.

Contrast

Gets or sets the value to change the contrast.

Allowed values are from -1 to 1, inclusive.

The default is 0.

Methods