v1.1.0
The final 1.x release — additive API-surface cleanup plus correctness fixes. No breaking changes (those land in 2.0).
Added
- Public exception hierarchy —
catch (PdfException)(orPdfParseException/PdfSecurityException) instead of bareException. - Stream/path overloads —
PdfDocumentEditor.Open(Stream),PdfOptimizer.Optimize(…, string path),PdfDocumentBuilder.LoadFont(byte[]/Stream). PdfOptimizer.Optimizereturns aPdfOptimizationResult— objects removed, output byte count, per-pass counts.- Annotation read/remove on
PdfPageCollection(GetAnnotations/RemoveAnnotationAt+PdfAnnotationInfo). - Navigation completeness —
PdfNamedDestinations.Entries(),PdfOutlineCollection.Insert/RemoveAt. - More
PdfViewerSettingskeys — HideMenubar, HideWindowUI, NonFullScreenPageMode, Direction, PrintScaling, Duplex. - Collection-facade parity (
Forms.Count,NamedDestinations[name]),PdfSaveOptions.Default,AddLine(PdfLength).
Fixed
- White-background rendering — rendered pages were coming out transparent (PNG) / black (JPEG); now composited onto white as documented.
AddText(5-arg) andAddLinenow honor the page unit/origin instead of depositing raw coordinates.PdfViewerSettingsboolean preferences can now be cleared by assigningnull.
Changed
- Usage documentation consolidated into a single, compile-verified
Docs/Guide.md.
Full CHANGELOG.