Example-VB |
Returns the page type of the image specified in the Image property and the page specified in the Page property.
Ö | Imaging for Windows Professional Edition V1.0, V1.1, and V2.0 |
Ö | Imaging for Windows 95 and 98 |
Ö | Imaging for Windows NT 4.0 |
Image Edit control
object.PageType
Integer (enumerated)
Property settings are expressed using the following values:
Constant | Setting | Description |
wiPageTypeBW | 1 | Black-and-white |
wiPageTypeGray4 | 2 | Gray scale, 4-bit |
wiPageTypeGray8 | 3 | Gray scale, 8-bit |
wiPageTypePal4 | 4 | Palettized, 4-bit |
wiPageTypePal8 | 5 | Palettized, 8-bit |
wiPageTypeRGB24 | 6 | RGB, 24-bit |
wiPageTypeBGR24 | 7 | BGR, 24-bit |
The PageType property value is independent of an image being displayed. If the image page specified in the Page property is being displayed, the value is the page type of the displayed image. If the image page specified in the Image and Page properties is not being displayed, the value is the page type of the page specified in the Image and Page properties.
Available at run-time as read-only.