LEADTOOLS PDF Segmentation (Leadtools.PdfCompressor assembly)
LEAD Technologies, Inc

SetCompression Method






Provides information about PDF Compression options PdfCompressorCompressionTypes.
Sets the compression type to be used with each image segment inserted in 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
)
 function Leadtools.PdfCompressor.PdfCompressorEngine.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 the 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

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

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.PdfCompressor requires a PDF Plug-in license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features