←Select platform

SetCompression Method

Summary

Sets the compression type to be used on each image segment inserted into the PDF file.

Syntax

C#
VB
C++
public void SetCompression( 
   PdfCompressorCompressionTypes CompressionTypes 
) 

Parameters

CompressionTypes
Provides information about PDF Compression options PdfCompressorCompressionTypes.

Remarks

This method can be called before inserting a compressed image into a PDF file by calling the following methods:

If the user does not call this method before using these methods, then the insertion process will use the default compression types. For more information, refer to Creating a Compressed PDF File.

Example

Refer to PdfCompressorEngine example.

Requirements

Target Platforms

Help Version 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.PdfCompressor Assembly