PDFsharp-net6

PdfColorMode

Namespace: PdfSharp.Pdf

Specifies what color model is used in a PDF document.

public enum PdfColorMode

Inheritance ObjectValueTypeEnumPdfColorMode
Implements IComparable, IFormattable, IConvertible

Fields

Name Value Description
Undefined 0 All color values are written as specified in the XColor objects they come from.
Rgb 1 All colors are converted to RGB.
Cmyk 2 All colors are converted to CMYK.