The GetImageType method sets the various image information into the image's related property values.
Parameters
None
Return Value
Return True if successful. Return False if unsuccessful.
Explanation
The GetImageType method sets the various image information into the image's related property values. Depending on the LayerNumber property value, the information will be related to the image set in the Image property or the Layer(LayerNumber).Image property.
For the image referred to by the Image property
The following properties will be set: BitCount, Gray, ImageKind, ImageSize, ImageWidthByte, and PaletteCount
For the image referred to by the Layer(LayerNo).Image property
The following properties will be set: Layer(LayerNumber).BitCount,
Layer(LayerNumber).Gray,
Layer(LayerNumber).ImageKind,
Layer(LayerNumber).ImageSize,
Layer(LayerNumber).ImageWidthByte,
and Layer(LayerNumber).PaletteCount
Note: Even if you do not execute the GetImageType method, when an image is set into the Image property or the Layer(LayerNo).Image property, the image information is automatically set into these various properties.
See Also
ImageKit Members | Newtone.ImageKit.Win.ImageKit