Click or drag to resize
Pdftools logo

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.FourHeights.PdfToolbox.Pdf.Content
Assembly: PdfTools.FourHeights.PdfToolbox (in PdfTools.FourHeights.PdfToolbox.dll) Version: 4.4.1+cd45f416896d630bcd3719f4b2cba7920f2790da
Syntax
C#
public void Restore()
Exceptions
ExceptionCondition
InvalidOperationExceptionif the document associated with the content has already been closed
InvalidOperationExceptionif the page/group associated with the content has already been closed
InvalidOperationExceptionif the content object has already been closed
InvalidOperationExceptionif the object has already been closed
See Also