This method sets the image information into various properties related to the image.
Parameters
None
Return Value
Returns True if successful, otherwise returns False.
Explanation
The GetImageType method sets the image information into various properties related to the image. 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).ImageHandle 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).ImageHandle property, the image information is automatically set into these various properties.