Table of Contents

Method Close

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

Close()

Closes the page. A closed page cannot be modified anymore, and it is not possible to get an XGraphics object for a closed page. Closing a page is not required, but may save resources if the document has many pages.

public void Close()