The SEGMENTINFO structure provides information about a segment in PDF Compressor.
RECT structure that contains the dimensions and position of the segment in an image.
A value that specifies the segment type. Possible values are:
|1-bit per pixel segment.
|1-bit per pixel black and white segment.
|2-bits per pixel segment.
|2-bits per pixel grayscale segment.
|2-bits per pixel black and white segment
|The segment has one color.
Array which specifies the colors being used by this segment, which is available only for the following segment types:
Number of valid colors in the array of colors specified by rgbColors.
LPSEGMENTINFO is a pointer to a SEGMENTINFO structure. Where the function parameter type is LPSEGMENTINFO, you can declare a SEGMENTINFO variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a LPSEGMENTINFO variable is necessary only if your program requires a pointer.