Skip to content

v1.1.0

Choose a tag to compare

@lxman lxman released this 26 Jun 00:36

The final 1.x release — additive API-surface cleanup plus correctness fixes. No breaking changes (those land in 2.0).

Added

  • Public exception hierarchycatch (PdfException) (or PdfParseException / PdfSecurityException) instead of bare Exception.
  • Stream/path overloadsPdfDocumentEditor.Open(Stream), PdfOptimizer.Optimize(…, string path), PdfDocumentBuilder.LoadFont(byte[]/Stream).
  • PdfOptimizer.Optimize returns a PdfOptimizationResult — objects removed, output byte count, per-pass counts.
  • Annotation read/remove on PdfPageCollection (GetAnnotations / RemoveAnnotationAt + PdfAnnotationInfo).
  • Navigation completenessPdfNamedDestinations.Entries(), PdfOutlineCollection.Insert / RemoveAt.
  • More PdfViewerSettings keys — 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) and AddLine now honor the page unit/origin instead of depositing raw coordinates.
  • PdfViewerSettings boolean preferences can now be cleared by assigning null.

Changed

  • Usage documentation consolidated into a single, compile-verified Docs/Guide.md.

Full CHANGELOG.