Click or drag to resize
Pdftools logo

ContentGeneratorSave Method

Save the current graphics state

The graphics state is stored on 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: 1.0.0
Syntax
C#
public void Save()
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