• 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 Flatten

Namespace TallComponents.PDF
Class Document

Sets the widgets on all pages to be flattened when the document is written.

The keep=true has meaning only for dynamic xfa documents. In that case, the Flatten function generates the dynamic content also.

Syntax

public  Void  Flatten( Boolean  keepWidgets )

Returns

Void

Parameters


Boolean keepWidgets
If set to true, the widgets are not flattened.
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.