Click or drag to resize

PdfShadingPattern Class

Shading patterns (PDF 1.3) provide a smooth transition between colors across an area to be painted, independent of the resolution of any particular output device and without specifying the number of steps in the color transition.
Inheritance Hierarchy
SystemObject
  SautinSoft.PdfPdfObject
    SautinSoft.Pdf.ContentPdfContentResource
      SautinSoft.Pdf.Content.PatternsPdfPattern
        SautinSoft.Pdf.Content.PatternsPdfShadingPattern

Namespace: SautinSoft.Pdf.Content.Patterns
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.11.10
Syntax
public sealed class PdfShadingPattern : PdfPattern

The PdfShadingPattern type exposes the following members.

Constructors
 NameDescription
Public methodPdfShadingPattern Initializes a new instance of the PdfShadingPattern class.
Top
Properties
 NameDescription
Public propertyPatternType(Required) A code identifying the type of pattern that this PdfPattern describes.
(Overrides PdfPatternPatternType)
Public propertyShading(Required) A shading object defining the shading pattern's gradient fill.
Top
Extension Methods
 NameDescription
Public Extension MethodGetArray Gets the PdfArray that serves as a backing storage of the specified PdfObject or if no PdfArray serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetOrAddDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Top
See Also