---
title: "Spray..::.Seed Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Spray_Seed.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Spray.Seed Property 
 
Gets/sets seed value for random generator.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Property Seed As Integer
```
 
```csharp
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()](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Transforms_Spray_Randomize.htm.md) which automatically set this property to random value.
 
Default value is 0.
   
## See Also

### Reference

- [Spray Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Spray.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
