The SEGMENTDATA structure contains segment information.
Size of this structure in bytes, for versioning. Use the sizeof() operator to calculate this value.
Segment boundaries from the original bitmap.
Flag that indicates the type of segment. Possible values are:
|SEGTYPE_BACKGROUND||[0x07] Segment is a background (The most prevalent color in the document is considered to be the background color.).|
|SEGTYPE_ONECOLOR||[0x08] Segment is a one color.|
|SEGTYPE_TEXT_1BIT_BW||[0x01] Segment is 1-bit black and white text.|
|SEGTYPE_TEXT_1BIT_COLOR||[0x02] Segment is 1 bit colored text.|
|SEGTYPE_TEXT_2BITBW||[0x09] Segment is 2-bit black and white text.|
|SEGTYPE_TEXT_2BIT_COLOR||[0x03] Segment is 2 bit colored text.|
|SEGTYPE_GRAYSCALE_2BIT||[0x04] Segment is 2-bit grayscale.|
|SEGTYPE_GRAYSCALE_8BIT||[0x05] Segment is 8-bit grayscale.|
|SEGTYPE_PICTURE||[0x06] Segment is an image.|
pSEGMENTDATA is a pointer to a SEGMENTDATA structure. Where the message parameter type is pSEGMENTDATA, you can declare a SEGMENTDATA variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pSEGMENTDATA variable is necessary only if your program requires a pointer.
This structure describes the data of a segment (image portion).
SEGMENTDATA is used with the following function: