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:
GDI+: reading and writing metadata in JPEG and TIFF files
GdipSetPropertyItem
..msdn    Add comment     W32 Constants      Translate this page
Sets a property item (piece of metadata) for this Image object.
Code examples:
GDI+: reading and writing metadata in JPEG and TIFF files
Declaration:
GpStatus WINGDIPAPI GdipSetPropertyItem(
    GpImage *image,
    GDIPCONST PropertyItem* item
)

FoxPro declaration:
DECLARE INTEGER GdipSetPropertyItem IN gdiplus;
    INTEGER  img,;
    STRING @ itm

Parameters:
img
[in] Handle to Image Object

item
[in] Pointer to a PropertyItem object that specifies the property item to be set.
Return value:
Returns GpStatus value, 0 means success.
My comment:
If the item already exists, then its contents are updated; otherwise, a new item is added. Certain image formats (for example, ICON and EMF) do not support properties.

struct PropertyItem {
  LONG id; //type of metadata
  ULONG length; // size in bytes of the value array
  WORD type; // data type
  LPVOID value; // pointer to array of values
};
Word Index links for the GdipSetPropertyItem :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-08-10 17:43:36
Modified: 2004-08-10 18:03:09
Visited in last 7 days: 23
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.145.16.43)
23 sec.Function: 'GetMapMode'
53 sec.Function: 'GdipCreateBitmapFromHICON'
1.27 min.Function: 'CeRapiInitEx'
1.78 min.Function: 'GetForegroundWindow'
3.97 min.Function: 'FileIconInit'
4 day(s)Function: 'GetBinaryType'
 
Function group: 'Window Class'
 
Function group: 'Color'
 Function: 'accept'
 Function: 'GetMenuItemInfo'
Google
Advertise here!