PDFsharp-net6

PdfExtGStateTable

Namespace: PdfSharp.Pdf.Advanced

Contains all used ExtGState objects of a document.

public sealed class PdfExtGStateTable : PdfResourceTable

Inheritance ObjectPdfResourceTablePdfExtGStateTable

Constructors

PdfExtGStateTable(PdfDocument)

Initializes a new instance of this class, which is a singleton for each document.

public PdfExtGStateTable(PdfDocument document)

Parameters

document PdfDocument

Methods

GetExtGStateStroke(Double, Boolean)

Gets a PdfExtGState with the key ‘CA’ set to the specified alpha value.

public PdfExtGState GetExtGStateStroke(double alpha, bool overprint)

Parameters

alpha Double

overprint Boolean

Returns

PdfExtGState

GetExtGStateNonStroke(Double, Boolean)

Gets a PdfExtGState with the key ‘ca’ set to the specified alpha value.

public PdfExtGState GetExtGStateNonStroke(double alpha, bool overprint)

Parameters

alpha Double

overprint Boolean

Returns

PdfExtGState