## ToBytes() {#tobytes}

Convierte los datos de flujo alByte matriz.

```csharp
public virtual byte[] ToBytes()
```

### Valor_devuelto

Los datos de flujo convertidos alByte matriz.

### Ver también

* class [StreamContainer](../../streamcontainer)
* espacio de nombres [Aspose.Imaging](../../streamcontainer)
* asamblea [Aspose.Imaging](../../../)

---

## ToBytes(long, long) {#tobytes_1}

Convierte los datos de flujo alByte matriz.

```csharp
public virtual byte[] ToBytes(long position, long bytesCount)
```

| Parámetro | Escribe | Descripción |
| --- | --- | --- |
| position | Int64 | La posición desde la que empezar a leer bytes. |
| bytesCount | Int64 | Los bytes cuentan para leer. |

### Valor_devuelto

Los datos de flujo convertidos alByte matriz.

### Ver también

* class [StreamContainer](../../streamcontainer)
* espacio de nombres [Aspose.Imaging](../../streamcontainer)
* asamblea [Aspose.Imaging](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Imaging.dll -->
