Re: PDPageContentStream#close() vs PDDocument#close()

2017-06-22 Thread Andreas Lehmkühler
> Thad Humphries hat am 21. Juni 2017 um 23:30 > geschrieben: > > > Is it necessary to call PDDocument#close() after calling > PDPageContentStream#close()? Does the answer apply all cases or only > certain cases? If the latter, what certain cases? > > For example,

PDPageContentStream#close() vs PDDocument#close()

2017-06-21 Thread Thad Humphries
Is it necessary to call PDDocument#close() after calling PDPageContentStream#close()? Does the answer apply all cases or only certain cases? If the latter, what certain cases? For example, in the following code snippet: PDDocument document = new PDDocument(); PDPageContentStream cos = new