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

AddNoise.Seed Property

Gets/sets seed value for random generator.

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

Syntax

Visual Basic
Public Property Seed As Integer
C#
public int Seed { get; set; }

Property Value

An integer value specifying seed for random generator.

Remarks

Set of random numbers is always the same for the same seed. So if you need to have the same result for multiple execution of this transform, specify some fixed seed. If you want to have different result each time you run this transform, set this property randomly (for example, from system clock or some other unpredictable value). You can also use special method Randomize() which automatically set this property to random value.

Default value is 0.

See Also

Reference