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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.PdfCompressor Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.