Method SetCmyk
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
SetCmyk()
Sets the options to produce CMYK raster bytes.
public UncompressedRasterOptions SetCmyk()
Returns
- UncompressedRasterOptions
The instance used to call the method.
Remarks
The raster bytes will use CMYK 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 CMYK or in CMYKA format.
The Convert PDF to image in C# and VB.NET article shows how to save PDF pages as images.