.. highlightlang:: us .. index:: ImageGetType .. _imagegettype: ImageGetType ============ .. us.tag ImageGetType NOTREADYENGLISH Image ImageGet New360 Changed5900 Changed6000 :ref:`ImageGetType` returns the picture file type. .. function:: nType = ImageGetType(hImg) nType = ImageGetType(hImg, bEx) .. us.return **Return Value** *nType* is one of the following values: .. list-table:: :header-rows: 1 * - value - meaning * - 0 - OleObject * - 1 - Metafile (WMF, EMF, EMF+, EMF+Dual) * - 2 - Bitmap (PNG, JPG, ...). If *bEx* is not 0: .. list-table:: :header-rows: 1 * - Wert - Bedeutung * - 0 - G_FORMAT_UNKOWN * - 1 - G_FORMAT_MEMBMP * - 2 - G_FORMAT_BMP * - 3 - G_FORMAT_EMF * - 4 - G_FORMAT_WMF * - 5 - G_FORMAT_JPG * - 6 - G_FORMAT_GIF * - 7 - G_FORMAT_TIF * - 8 - G_FORMAT_PNG * - 9 - G_FORMAT_EMFPLUS * - 10 - G_FORMAT_EMFPLUSDUAL .. us.params **Parameters** .. uparam:: hImg Identifies the image. .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - R2018 - ``G_FORMAT_EMFPLUS``, ``G_FORMAT_EMFPLUSDUAL`` * - R2017 - Second Parameter. * - 3.6.0 - New .. seealso:: :ref:`overview-pictures` :sub:`id-324747`