SegmentType property (ILTSegmentInfo)
Long SegmentType | |
Overview |
Refer to Creating a Compressed PDF File |
Remarks
(Advanced PDF Plug in only) Gets or sets a value that describes the segment's type.
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 SegmentType property is updated every time the PDFCompEvent Event is fired.
As part of the UserSegmentInfo property, the SegmentType property can be set to define the type of 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. Possible values are:
Value |
Description |
PDFCOMP_SEGMENT_TYPE_BACKGROUND |
The segment is a background segment and it only has one color. |
PDFCOMP_SEGMENT_TYPE_ONEBIT |
The segment is a 1-bit image. |
PDFCOMP_SEGMENT_TYPE_ONEBITBW |
The segment is a 1-bit image with only black and white colors. |
PDFCOMP_SEGMENT_TYPE_TWOBIT |
The segment is a 2-bit image. |
PDFCOMP_SEGMENT_TYPE_TWOBITGRAY |
The segment is a 2-bit image with gray colors. |
PDFCOMP_SEGMENT_TYPE_GRAY |
The segment is a gray segment. |
PDFCOMP_SEGMENT_TYPE_PICTURE |
The segment is a picture segment. |
PDFCOMP_SEGMENT_TYPE_TWOBITBW |
The segment is a 2-bit image with only black and white colors. |
PDFCOMP_SEGMENT_TYPE_ONECOLOR |
The segment is a 1 color image. |
See Also