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

Spray.Seed Property

Gets/sets seed value for random generator.

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


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

Property Value

An integer value specifying seed for random generator.


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