Skip to content

PDFSetGrayFillOperator

Namespace: O2S.Components.PDF4NET.Graphics.Operators

Defines the g (set gray level for fill operations) content stream operator.

public class PDFSetGrayFillOperator : PDFContentStreamOperator

Inheritance ObjectPDFContentStreamOperatorPDFSetGrayFillOperator

Constructors

PDFSetGrayFillOperator()

Initializes a new PDFSetGrayFillOperator object.

public PDFSetGrayFillOperator()

PDFSetGrayFillOperator(Double)

Initializes a new PDFSetGrayFillOperator object.

public PDFSetGrayFillOperator(double g)

Parameters

g Double
The gray level.


Properties

Context

Gets the content stream container from which the operator is extracted.

public PDFContentStreamContainer Context { get; internal set; }

Property Value

PDFContentStreamContainer
A content stream container object, a PDFPage or a PDFFormXObject.


G

Gets or sets the gray level.

public double G { get; set; }

Property Value

Double
The gray level.


OpCode

Gets the operator code.

public string OpCode { get; }

Property Value

String
The operator code as it is written in the content stream.


Type

Gets or sets the operator type.

public PDFContentStreamOperatorType Type { get; set; }

Property Value

PDFContentStreamOperatorType
The type of this operator.