UncompressedRasterOptions.SetGrayscale Method

Sets the options to produce grayscale raster bytes.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public UncompressedRasterOptions SetGrayscale()
VB
Public Function SetGrayscale As UncompressedRasterOptions

Return Value

Type: UncompressedRasterOptions
The instance used to call the method.

Remarks

The raster bytes will use Grayscale color space. Depending on the value of the BackgroundColor property, the bytes can also contain an alpha channel.

Depending on the presence of an alpha channel, the bytes are either in Grayscale or in Grayscale + Alpha format.

See Also