• Products
  • Pricing
  • Documentation
  • Support
Login
Your cart is empty. See pricing.
My order
Total:
Order
  • Home
  • Products
  • Pricing
  • Documentation
  • Support
Login
LinkedIn
Twitter
  • Guide
  • API reference
  • Code samples
  • Changelog
  • TallComponents
  • TallComponents.Licensing
  • TallComponents.PDF
  • TallComponents.PDF.Actions
  • TallComponents.PDF.Annotations
  • TallComponents.PDF.Annotations.Markups
  • TallComponents.PDF.Annotations.Widgets
  • TallComponents.PDF.Brushes
  • TallComponents.PDF.Colors
  • TallComponents.PDF.Diagnostics
  • TallComponents.PDF.DigitalSignatures
  • TallComponents.PDF.DynamicXfa
  • TallComponents.PDF.Extensions
  • TallComponents.PDF.Fonts
  • TallComponents.PDF.Forms.Data
  • TallComponents.PDF.Forms.Fields
  • TallComponents.PDF.Forms.Fields.Barcodes
  • TallComponents.PDF.Forms.Fields.Barcodes.Properties
  • TallComponents.PDF.JavaScript
  • TallComponents.PDF.JavaScript.Scripting
  • TallComponents.PDF.JavaScript.Scripting.Soap
  • TallComponents.PDF.Metadata
  • TallComponents.PDF.Navigation
  • TallComponents.PDF.Pens
  • TallComponents.PDF.Prepress
  • TallComponents.PDF.Printing
  • TallComponents.PDF.Security
  • TallComponents.PDF.Shapes
  • TallComponents.PDF.Shapes.Annotations
  • TallComponents.PDF.Shapes.Barcodes
  • TallComponents.PDF.Tags
  • TallComponents.PDF.TextExtraction
  • TallComponents.PDF.Transforms

Method Rewrite

Namespace TallComponents.PDF
Class Document

Rewrite a given PDF, optionally using algorithms to reduce the file size

Syntax

public  Void  Rewrite( Stream  instream ,  Stream  outstream ,  ReduceOptions  reducerOptions )

Returns

Void

Parameters


Stream instream
The stream of the input PDF

Stream outstream
The stream of the output PDF

ReduceOptions reducerOptions
Reducer control flags
Our products
PDFKit.NET 5.0
Create and manipulate PDF documents
TallPDF.NET 5.0
Generate PDF on the fly
PDFRasterizer.NET 4.0
Render PDF pages cross-platform
Support resources
  • Code samples
  • Submit issue
  • Contact
  • Licensing Model
Legal
  • EULA
  • Privacy
LinkedIn
Twitter
© 2001-2025 TallComponents BV. All rights reserved.