Using Win32 functions in Visual FoxPro Image Gallery
GDI+ ImageAttributes
GdipCreateImageAttributes
GdipDisposeImageAttributes
GdipSetImageAttributesColorKeys
Code examples:
GDI+: Color Transparency
GdipSetImageAttributesColorKeys
..msdn    Add comment     W32 Constants      Translate this page
Sets the color key (transparency range) for a specified ColorAdjustType.
Code examples:
GDI+: Color Transparency
Declaration:
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
Parameters:
imageattr
[in] Handle to the ImageAttributes object.

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

enableFlag
[in] Enables a separate transparency range.

colorLow
[in] Lowest ARGB value in the transparency range.

colorHigh
[in] Highest ARGB value in the transparency range.
Return value:
Returns GpStatus value, 0 means success.
Usage:
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  
FreeTranslation.com 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: 9
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.80.132.10)
10 sec.Function: 'FindNextChangeNotification'
23 sec.Function: 'CreateService'
37 sec.Function: 'GdipDeleteFontFamily'
51 sec.Function: 'DrawCaption'
1.1 min.Function: 'GdipSetPathGradientCenterPointI'
1.33 min.Function: 'FormatMessage'
1.58 min.Function: 'CeWriteFile'
1.77 min.Function: 'EnumPrinters'
2 min.Function: 'DetectAutoProxyUrl'
2.18 min.Function: 'GdipTranslateMatrix'
Google
Advertise here!