SegmentColors property (ILTSegmentInfo)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

Long SegmentColors(long nIndex)

Overview

Refer to Creating a Compressed PDF File

Remarks

(Advanced PDF Plug in only) Gets or sets an array of colors present 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 SegmentColors property is updated every time the PDFCompEvent event is fired.

As part of the UserSegmentInfo property, the SegmentColors property can be set to define the 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, SegmentRight property, SegmentBottom Property, SegmentType property, SegmentColorsCount property, MRCSegmentInfo property, UserSegmentInfo Property, PDFCompInsertSegments method

Topics:

PDF Compressor Functions: Creating a File