←Select platform

PdfCompressorEngine Class

Summary

Provides the functionality to create a PDF document with or without Mixed Raster Content (MRC) segmentation options.

Syntax

C#
VB
C++
public class PdfCompressorEngine : System.IDisposable
Public Class PdfCompressorEngine  
   Implements System.IDisposable 
public ref class PdfCompressorEngine : public System.IDisposable

Remarks

This class provides the functionality to create a PDF document and provides the following options:

  • Use SetCompression to specify the compression type to be used for segments with the same type, or for the entire image when not using MRC segmentation.
  • Use InsertSegments to control the way that the image will be segmented.
  • Use the PdfCompressorSegmentImageEventArgs delegate method to control how segments are added from the image to the PDF document.

For more information, refer to Creating a Compressed PDF File.

NOTE: If you have an existing PDF file (raster and/or document) that you need to optimize, refer to Leadtools.Pdf.PDFOptimizerOptions and Leadtools.Pdf.PDFFile.Optimize>

Example

For an example that inserts an image into a PDF document without using the MRC refer to Write.For an example that inserts an image into a PDF document and uses the MRC to make a proper segment for this image refer to Insert.For an example that inserts an image into a PDF document using user Segments refer to Insert.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Click or drag to resize