This documentation is for the old version. Go to the latest Graphics Mill docs

Contrast.Auto Property

Gets/sets a value specifying if transform should be run in automatic mode.

Namespace: Aurigma.GraphicsMill.Transforms
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Property Auto As Boolean
C#
public bool Auto { get; set; }

Property Value

A value specifying if transform should be run in automatic mode. If it is true, property Amount will be ignored and contrast modifier will be calculated automatically.

Remarks

Note

If you set Auto property to true, and modifying Amount, Auto is reset to false.

When you create Contrast without specifying brightness amount, default value is true. If amount is passed to constructor, default value is false.

See Also

Reference