Using Win32 functions in Visual FoxPro Image Gallery
GDI+ ImageAttributes
Code examples:
GDI+: Color Transparency
..msdn    Add comment     W32 Constants      Translate this page
Sets the color key (transparency range) for a specified ColorAdjustType.
Code examples:
GDI+: Color Transparency
GpStatus WINGDIPAPI GdipSetImageAttributesColorKeys(
    GpImageAttributes *imageattr, 
    ColorAdjustType type, 
    BOOL enableFlag, 
    ARGB colorLow, 
    ARGB colorHigh)
FoxPro declaration:
DECLARE INTEGER GdipSetImageAttributesColorKeys IN gdiplus;
    INTEGER imageattr,;
    INTEGER ColorAdjustType,;
    INTEGER enableFlag,;
    LONG colorLow,;
    LONG colorHigh
[in] Handle to the ImageAttributes object.

[in] Element of the ColorAdjustType enumeration that specifies the category for which the color key is set.

[in] Enables a separate transparency range.

[in] Lowest ARGB value in the transparency range.

[in] Highest ARGB value in the transparency range.
Return value:
Returns GpStatus value, 0 means success.
STORE ARGB(255,255,255,255) TO;
    nColorMin, nColorMax

= GdipSetImageAttributesColorKeys(hImgAttr, 0, 1,;
    nColorMin, nColorMax)
Word Index links for the GdipSetImageAttributesColorKeys :
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2009-01-16 18:16:27
Modified: 2009-01-16 18:24:48
Visited in last 7 days: 23
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 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 (
8 sec.Function: 'CreateRoundRectRgn'
15 sec.Function: 'GetMenu'
23 sec.Function: 'GetFileInformationByHandle'
32 sec.
Function group: 'Monitor Configuration (Vista)'
40 sec.Function: 'GetEnvironmentVariable'
47 sec.Function: 'GdiSetBatchLimit'
54 sec.Function: 'FindFirstChangeNotification'
1.03 min.Function: 'CopyFileTransacted'
1.15 min.
Function group: 'Dynamic-Link Library'
1.27 min.Function: 'GdipCloneBitmapArea'
Advertise here!