PeachPDF
PeachPDF
PeachPdfDocument Class
A PDF document produced by PdfGenerator. Instances are created by calling one of the
PdfGenerator.GeneratePdf overloads and are written out with Save(Stream).
public class PeachPdfDocument
Inheritance System.Object → PeachPdfDocument
| Properties | |
|---|---|
| ClipReport | Words this render drew and then truncated with a clip - the loss class reading the finished PDF back cannot detect. See ClipReport for what it does and does not cover. |
| PageCount | The number of pages currently in the document. |
| Methods | |
|---|---|
| ConsolidateImages() | Merges embedded raster images that encode to byte-identical PDF image objects, keeping one copy and repointing every other reference at it. Call this after all pages have been added, and before Save(Stream) - a page’s resources are rewritten in place, but the size reduction only takes effect once Save(Stream) drops the now-unreferenced duplicate objects. |
| Save(Stream) | Writes the completed PDF to the given stream. |