## Random::Next() method


Devuelve un número aleatorio no negativo menor que el valor máximo de int32.

```cpp
virtual int32_t System::Random::Next()
```

## Ver también

* Class [Random](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
## Random::Next(int32_t) method


Devuelve un número aleatorio no negativo menor que el máximo especificado.

```cpp
virtual int32_t System::Random::Next(int32_t maxValue)
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| maxValue | int32_t | Los valores generados por el método serán menores que este valor |

## Ver también

* Class [Random](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
## Random::Next(int32_t, int32_t) method


Devuelve un número aleatorio dentro del rango especificado.

```cpp
virtual int32_t System::Random::Next(int32_t minValue, int32_t maxValue)
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| minValue | int32_t | Los valores generados por el método serán mayores que este valor |
| maxValue | int32_t | Los valores generados por el método serán menores que este valor |

## Ver también

* Class [Random](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
