Parameters
None
Return Value
Returns True (nonzero) if successful, otherwise returns False (0).
Explanation
The GetImageType method sets the various image
information into the image's related property values. Depending on
the LayerNo property value, the information will be related to the
image set in the ImageHandle property of the
Layer(LayerNo).ImageHandle property.
For the image referred to by the ImageHandle property
The following properties will be set: BitCount, Gray, ImageKind, ImageSize, ImageHeight, ImageWidth, ImageWidthByte, Mask1632, PalCount, Xdpi, Ydpi
For the image referred to by the Layer(LayerNo).ImgaeHandle property
The following properties will be set: Layer(LayerNo).BitCount, Layer(LayerNo).Gray, Layer(LayerNo).Height, Layer(LayerNo).ImageKind, Layer(LayerNo).ImageSize, Layer(LayerNo).Mask1632, Layer(LayerNo).PalCount, Layer(LayerNo).Width, Layer(LayerNo).WidthByte, Layer(LayerNo).Xdpi, Layer(LayerNo).Ydpi
Note: Even if you do not execute the GetImageType method, when an image is set into the ImageHandle property or the Layer(LayerNo).ImgaeHandle property, the image information is automatically set into these various properties.