![Pdftools logo](../icons/pdftools-icon.png) | ContentGeneratorRestore Method |
Restore the graphics state.
The most recently saved state is restored and removed from the graphics state stack.
The following properties are affected:
-
The current transform matrix
-
The current clip path
Namespace: PdfTools.Toolbox.Pdf.ContentAssembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.1.0+5820e9ca9ca173983539ffc40abc227fb62e6928
Syntax
ExceptionsException | Condition |
---|
InvalidOperationException | if the document associated with the content has already been closed |
InvalidOperationException | if the page/group associated with the content has already been closed |
InvalidOperationException | if the content object has already been closed |
InvalidOperationException | if the object has already been closed |
See Also