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 
) 
Public Sub SetCompression( _ 
   ByVal CompressionTypes As PdfCompressorCompressionTypes _ 
)  
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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.PdfCompressor Assembly