Visual Basic (Declaration) | |
---|---|
Public Class PdfCompressor Implements IDisposable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As PdfCompressor |
C# | |
---|---|
public class PdfCompressor : IDisposable |
C++/CLI | |
---|---|
public ref class PdfCompressor : public IDisposable |
For an example that inserts an image into a PDF document without using the MRC refer to Write.For an example that inserts an image into a PDF document and uses the MRC to make a proper segment for this image refer to Leadtools.Pdf.PdfCompressor.Insert.For an example that inserts an image into a PDF document using user Segments refer to Insert(RasterImage).
This class provides the functionality to create a PDF document and provides the following options:
For more information, refer to Creating a Compressed PDF File.
- Use Leadtools.Pdf.PdfCompressor.SetCompression to specify the compression type to be used for segments with the same type, or for the entire image when not using MRC segmentation.
- Use InsertSegments to control the way that the image will be segmented.
- Use the PdfCompressorSegmentImageEventArgs delegate method to control how segments are added from the image to the PDF document.
For more information, refer to Creating a Compressed PDF File.
System.Object
Leadtools.Pdf.PdfCompressor
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7