You’re viewing outdated documentation. View the latest Graphics Mill documentation.

Contrast.Auto Property

Applies to: Graphics Mill 5.5, 3.x-5.x (may differ) · Archived documentation

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