SegmentColorsCount property (ILTSegmentInfo)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

Long SegmentColorsCount

Overview

Refer to Creating a Compressed PDF File

Remarks

(Advanced PDF Plug in only) Gets or sets the number of colors in the segment.

This property is one of the properties of the ILTSegmentInfo object. It may be accessed through the MRCSegmentInfo property or the UserSegmentInfo property.

As part of the MRCSegmentInfo property, the SegmentColorsCount property is updated every time the PDFCompEvent event is fired.

As part of the UserSegmentInfo property, the SegmentColorsCount property can be set to define the number of colors in a user-defined segment. Once all sub properties of the UserSegmentInfo property have been set, the user-defined segment can be inserted by calling the PDFCompInsertSegments method.

See Also

Elements:

PDFCompEvent Event, SegmentTop property, SegmentLeft property, SegmentBottom Property, SegmentRight property, SegmentColors property, SegmentType property, MRCSegmentInfo property, UserSegmentInfo Property, PDFCompInsertSegments method

Topics:

PDF Compressor Functions: Creating a File