Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


The function saves the current graphics state.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 3.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.SaveGraphicState"; PDF )   More


Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf


Returns OK or error message.


The function saves the current graphics state.
A saved graphics state must be restored before the page, template or pattern will be closed.
see also DynaPDF.RestoreGraphicState.

You can use DynaPDF.SaveGraphicState with RestorePageCoords option to define whether this saves the page coordinate option (bottom-up or top-down).

See also SaveGraphicState function in DynaPDF manual.

See also

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 2nd August 2023

DynaPDF.SaveAndSignFileWinCryptDialog - DynaPDF.ScaleCoords