PDFSetShadingOperator¶
Namespace: O2S.Components.PDF4NET.Graphics.Operators
Defines the sh (set shading) content stream operator.
Inheritance Object → PDFContentStreamOperator → PDFSetShadingOperator
Constructors¶
PDFSetShadingOperator()¶
Initializes a new PDFSetShadingOperator object.
PDFSetShadingOperator(PDFCosName)¶
Initializes a new PDFSetShadingOperator object.
Parameters
shadingID PDFCosName
The shading ID in the /Resources dictionary.
Properties¶
Context¶
Gets the content stream container from which the operator is extracted.
Property Value
PDFContentStreamContainer
A content stream container object, a PDFPage or a PDFFormXObject.
OpCode¶
Gets the operator code.
Property Value
String
The operator code as it is written in the content stream.
Shading¶
Gets the shading object associated with this operator.
Property Value
PDFShading
A PDFShading object that describes the shading painted by this operator.
ShadingID¶
Gets or sets the shading ID.
Property Value
PDFCosName
The shading ID in the /Resources dictionary.
Type¶
Gets or sets the operator type.
Property Value
PDFContentStreamOperatorType
The type of this operator.