PDFCompInsertMRC method (ILEADPDFCompressor)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short PDFCompInsertMRC (ILEADRaster * pRaster);

Overview

Refer to Creating a Compressed PDF File

Remarks

(Advanced PDF Plug in only) Segments the specified image using MRC segmentation, compresses it, and inserts the image in the PDF file in memory.

To insert the image without using MRC segmentation, use PdfCompInsertNormal method.

You must set the following properties before calling this method:

BackGroundThreshold property

CleanSize property

ColorThreshold property

CombineThreshold property

Flags property

ImageQuality property

OutputQuality property

SegmentQuality property

This method will fire the PDFCompEvent event if the bEnablePDFCompEvent parameter of the PDFCompInit method is set to TRUE. This event allows the user to add or cancel adding a specific segment to the PDF File.

See Also

Elements:

PDFCompInit method, PDFCompInsertNormal method, PDFCompEvent Event, ImageQuality Property, OutputQuality Property, Flags Property, CleanSize Property, SegmentQuality Property, ColorThreshold Property, BackGroundThreshold Property, CombineThreshold Property

Topics:

PDF Compressor Functions: Creating a File