Error processing SSI file
LEADTOOLS PDF Segmentation (Leadtools.PdfCompressor assembly)

Show in webframe

SetCompression Method






Provides information about PDF Compression options PdfCompressorCompressionTypes.
Sets the compression type to be used on each image segment inserted into the PDF file.
Syntax
public void SetCompression( 
   PdfCompressorCompressionTypes CompressionTypes
)
'Declaration
 
Public Sub SetCompression( _
   ByVal CompressionTypes As PdfCompressorCompressionTypes _
) 
'Usage
 
Dim instance As PdfCompressorEngine
Dim CompressionTypes As PdfCompressorCompressionTypes
 
instance.SetCompression(CompressionTypes)
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

See Also

Reference

PdfCompressorEngine Class
PdfCompressorEngine Members
Insert(RasterImage,PdfCompressorOptions) Method
InsertSegments Method

Error processing SSI file
Leadtools.PdfCompressor requires a PDF Pro, Pro Suite, Document or Medical license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features