## GetGrayscaleAlpha(int) {#getgrayscalealpha}

Obtiene el color GrayscaleAlpha con un número específico de bits por muestra.

```csharp
public static PixelDataFormat GetGrayscaleAlpha(int bitsPerSample)
```

| Parámetro | Escribe | Descripción |
| --- | --- | --- |
| bitsPerSample | Int32 | El número de bits por muestra. |

### Valor_devuelto

El color GrayscaleAlpha.

### Ver también

* class [PixelDataFormat](../../pixeldataformat)
* espacio de nombres [Aspose.Imaging](../../pixeldataformat)
* asamblea [Aspose.Imaging](../../../)

---

## GetGrayscaleAlpha(int, int) {#getgrayscalealpha_1}

Obtiene el color GrayscaleAlpha con un número específico de bits por muestra.

```csharp
public static PixelDataFormat GetGrayscaleAlpha(int bitsPerSample, int alphaChannelBits)
```

| Parámetro | Escribe | Descripción |
| --- | --- | --- |
| bitsPerSample | Int32 | El número de bits por muestra. |
| alphaChannelBits | Int32 | El número de bits por muestra en el canal alfa. |

### Valor_devuelto

El color GrayscaleAlpha.

### Ver también

* class [PixelDataFormat](../../pixeldataformat)
* espacio de nombres [Aspose.Imaging](../../pixeldataformat)
* asamblea [Aspose.Imaging](../../../)

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