Skip to content

# PDFConvertToRgbTransform

Namespace: O2S.Components.PDF4NET.Transforms

Defines a page transformation that converts all colors on a PDF page to RGB.

    public class PDFConvertToRgbTransform : PDFPageTransform

Inheritance Object → PDFPageTransform → PDFConvertToRgbTransform

Remarks

Gray colors and images and image masks are not changed.

## Constructors

### PDFConvertToRgbTransform()

Initializes a new PDFConvertToRgbTransform object.

    public PDFConvertToRgbTransform()

## Properties

### Context

Gets the transform context.

    public PDFContentStreamContainer Context { get; internal set; }

Property Value

PDFContentStreamContainer
The content stream container on which the transformation is currently applied.

### EnableExtendedOperatorInformation

Gets or sets a flag indicating whether extended operator information should be extracted when a content stream operator is processed.

    public bool EnableExtendedOperatorInformation { get; set; }

Property Value

Boolean
True if extended operator information should be extracted.