DynaPDF.SetExtGState
--------------------

Activates an extended graphics state.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DynaPDF](component_DynaPDF.md) | [14.4](newinversion144.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "DynaPDF.SetExtGState"; PDF; ExtGStateRef ) 

**MBS**( **"DynaPDF.SetExtGState";** /\* Activates an extended graphics state. \*/  
**$PDF**; /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/   
**$ExtGStateRef**) /\* The number of the extended graphics state. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $pdf |
| ExtGStateRef | The number of the extended graphics state. |  |

### Result

Returns OK or error.

### Description

Activates an extended graphics state.   
Extended graphics states can be used to adjust certain settings of the graphics state. See [DynaPDF.CreateExtGState](DynaPDFCreateExtGState.md) for further information.  
See also [SetExtGState](https://www.monkeybreadsoftware.com/DynaPDF-Manual/SetExtGState.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.CreateExtGState](DynaPDFCreateExtGState.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetAlpha](DynaPDFSetAlpha.md)
- [DynaPDF.SetOCGState](DynaPDFSetOCGState.md)

### Release notes

- **Version 14.4**
    - Added [DynaPDF.CreateExtGState](https://www.mbsplugins.eu/DynaPDFCreateExtGState.shtml) and [DynaPDF.SetExtGState](https://www.mbsplugins.eu/DynaPDFSetExtGState.shtml) functions.

### Blog Entries

- [New in MBS FileMaker Plugin 14.4](https://www.mbsplugins.de/archive/2024-09-24/New_in_MBS_FileMaker_Plugin_14/monkeybreadsoftware_blog_filemaker)
- [Neues MBS Plugin 14.4 für Claris FileMaker](https://www.mbsplugins.de/archive/2024-09-17/Neues_MBS_Plugin_144_für_Clar/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin 14.4 for Claris FileMaker](https://www.mbsplugins.de/archive/2024-09-17/MBS_Plugin_144_for_Claris_File/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 14.4pr6](https://www.mbsplugins.de/archive/2024-09-11/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 4th September 2024 , last changed 4th September 2024

  
[DynaPDF.SetExtFillColorSpace](DynaPDFSetExtFillColorSpace.md) - [DynaPDF.SetExtStrokeColorSpace](DynaPDFSetExtStrokeColorSpace.md)

[HTML Version](DynaPDFSetExtGState.shtml)