# ExtendedGraphicState Class

> The extended graphic state, to supplement original graphic state.

- Product: Adobe PDF Library 21
- Language: .NET Framework
- Version: APDFL21.0.0PlusP1e
- HTML page: https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/ExtendedGraphicState
- Version index: https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/llms.txt

```csharp
class ExtendedGraphicState : SystemIDisposable
```

**Namespace:** `Datalogics::PDFL`

**Inherits from:** `SystemIDisposable`

## Description

The extended graphic state, to supplement original graphic state.

The Graphics State is an internal data structure in a PDF file that holds the parameters that describe graphics within that file. These parameters define how individual graphics are presented on the page, including layers and transparencies.

The Extended Graphic State was introduced to expand the original Graphics State data structure, providing space to define and store more data objects within a PDF.

**Referenced by:** [`GraphicState`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/GraphicState.md)

**Uses types:** [`BlendMode`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/enum/BlendMode.md), [`Function`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/Function.md), [`OverprintMode`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/enum/OverprintMode.md), [`PDFDict`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/PDFDict.md)

## Constructors

### ExtendedGraphicState

```csharp
Datalogics.PDFL.ExtendedGraphicState.ExtendedGraphicState()
```

*constructor*

Create a new default ExtendedGraphicState for the document in which this ExtendedGraphicState will be used.

## Properties

### AlphaIsShape

```csharp
bool Datalogics.PDFL.ExtendedGraphicState.AlphaIsShape { get; set; }
```

Returns if the alpha is to be interpreted as a shape or opacity mask.

### ApplyAutoStroke

```csharp
bool Datalogics.PDFL.ExtendedGraphicState.ApplyAutoStroke { get; set; }
```

Returns whether stroke adjustment is enabled in the graphics state.

### ApplyOverprintForOtherThanStroking

```csharp
bool Datalogics.PDFL.ExtendedGraphicState.ApplyOverprintForOtherThanStroking { get; set; }
```

Returns whether overprint is enabled for operations other than stroking.

### ApplyOverprintForStroking

```csharp
bool Datalogics.PDFL.ExtendedGraphicState.ApplyOverprintForStroking { get; set; }
```

Returns whether overprint is enabled for stroke operations.

### BlackGeneration

```csharp
Function Datalogics.PDFL.ExtendedGraphicState.BlackGeneration { get; set; }
```

Gets the black generation function.

### BlendMode

```csharp
BlendMode Datalogics.PDFL.ExtendedGraphicState.BlendMode { get; set; }
```

Returns the blend mode for the color composite for each object painted.

### OpacityForOtherThanStroking

```csharp
double Datalogics.PDFL.ExtendedGraphicState.OpacityForOtherThanStroking { get; set; }
```

Gets the opacity value for other-than-stroke operations.

### OpacityForStroking

```csharp
double Datalogics.PDFL.ExtendedGraphicState.OpacityForStroking { get; set; }
```

Gets the opacity value for stroke operations.

### OverprintMode

```csharp
OverprintMode Datalogics.PDFL.ExtendedGraphicState.OverprintMode { get; set; }
```

Returns the overprint mode setting.

Specifies whether a color component value of 0 in a DeviceCMYK color space should erase that component or leave it unchanged when overprinting.

### PDFDict

```csharp
PDFDict Datalogics.PDFL.ExtendedGraphicState.PDFDict { get; }
```

Get the dictionary associated with the extended graphic state.

### SmoothnessTolerance

```csharp
double Datalogics.PDFL.ExtendedGraphicState.SmoothnessTolerance { get; set; }
```

Gets the smoothness tolerance, the quality of smooth shading.

### TextKnockout

```csharp
bool Datalogics.PDFL.ExtendedGraphicState.TextKnockout { get; set; }
```

Returns whether text knockout is enabled in the graphics state.

### TransferFunction

```csharp
System.Collections.Generic.IList<Function> Datalogics.PDFL.ExtendedGraphicState.TransferFunction { get; set; }
```

Gets the transfer function.

### UndercolorRemoval

```csharp
Function Datalogics.PDFL.ExtendedGraphicState.UndercolorRemoval { get; set; }
```

Gets the undercolor removal function.

## Methods

### Dispose

```csharp
void Datalogics.PDFL.ExtendedGraphicState.Dispose()
```

**Returns:** `void`
