Using Win32 functions in Visual FoxPro Image Gallery
GDI+ Image
..msdn
GdipDisposeImage
GdipGetImageFlags
GdipGetImageGraphicsContext
GdipGetImageHeight
GdipGetImageHorizontalResolution
GdipGetImagePalette
GdipGetImagePaletteSize
GdipGetImageRawFormat
GdipGetImageType
GdipGetImageVerticalResolution
GdipGetImageWidth
GdipGetPropertyCount
GdipGetPropertyIdList
GdipGetPropertyItem
GdipGetPropertyItemSize
GdipLoadImageFromFile
GdipRemovePropertyItem
GdipSaveImageToFile
GdipSetImagePalette
GdipSetPropertyItem
Code examples:
Custom GDI+ class
GdipGetImageType
..msdn    Add comment     W32 Constants      Translate this page
Gets the type (bitmap or metafile) of this Image object.
Code examples:
Custom GDI+ class
Declaration:
GpStatus WINGDIPAPI GdipGetImageType(
    GpImage *image, 
    ImageType *type
)

FoxPro declaration:
DECLARE INTEGER GdipGetImageType IN gdiplus;
    INTEGER   img,;
    INTEGER @ imgtype
Parameters:
img
[in] Handle to Image Object

imgtype
[out] ImageType enumeration value.
Return value:
Returns GpStatus value, 0 means success.
My comment:
typedef enum {
        ImageTypeUnknown = 0,
        ImageTypeBitmap = 1,
        ImageTypeMetafile = 2
} ImageType;

Word Index links for the GdipGetImageType :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-07-08 09:54:47
Modified: 2004-07-08 10:02:21
Visited in last 7 days: 20
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.234.247.118)
18 sec.Function: 'UnmapViewOfFile'
36 sec.Function: 'EnumPrinters'
54 sec.Function: 'DeleteVolumeMountPoint'
1.2 min.Function: 'CryptGetDefaultProvider'
1.53 min.Function: 'mciGetErrorString'
1.87 min.Function: 'GdipGetDpiX'
2.18 min.Function: 'VirtualAllocEx'
2.5 min.Function: 'GetFocus'
2.85 min.Function: 'GetPrivateProfileString'
3.22 min.Function: 'mixerGetDevCaps'
Google
Advertise here!