Click or drag to resize
PdfTextCompression Enumeration
Specifies a type of compression applied to all content in the PDF file except images.

Namespace: Aspose.Words.Saving
Assembly: Aspose.Words (in Aspose.Words.dll) Version: 20.1
public enum PdfTextCompression
  Member nameValueDescription
None0 No compression.
Flate1 Flate (ZIP) compression.
Saves a document to PDF without compression.
Document doc = new Document(MyDir + "Rendering.doc");

PdfSaveOptions options = new PdfSaveOptions();
options.TextCompression = PdfTextCompression.None;

doc.Save(ArtifactsDir + "Rendering.SaveToPdfNoCompression.pdf", options);
See Also