Skip to content

# PDFConvertToGrayTransform

Namespace: O2S.Components.PDF4NET.Transforms

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

    public class PDFConvertToGrayTransform : PDFPageTransform

Inheritance Object → PDFPageTransform → PDFConvertToGrayTransform

## Constructors

### PDFConvertToGrayTransform()

Initializes a new PDFConvertToGrayTransform object.

    public PDFConvertToGrayTransform()

## 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.