Using Win32 functions in Visual FoxPro Image Gallery
GDI+ ImageAttributes
GdipCreateImageAttributes
GdipDisposeImageAttributes
GdipSetImageAttributesColorKeys
Code examples:
GDI+: Color Transparency
GdipCreateImageAttributes
..msdn    Add comment     W32 Constants      Translate this page
Creates new ImageAttributes object.
Code examples:
GDI+: Color Transparency
Declaration:
GpStatus WINGDIPAPI GdipCreateImageAttributes(
    GpImageAttributes **imageattr)
FoxPro declaration:
DECLARE INTEGER GdipCreateImageAttributes IN gdiplus;
    INTEGER @imageattr
Parameters:
imageattr
[out] Handle to the ImageAttributes object.
Return value:
Returns GpStatus value, 0 means success.
Usage:
LOCAL hImgAttr
hImgAttr=0
= GdipCreateImageAttributes(@hImgAttr)

. . .

= GdipDisposeImageAttributes(hImgAttr)
My comment:
An ImageAttributes object contains information about how bitmap and metafile colors are manipulated during rendering.

When no longer needed the ImageAttributes object must be deleted by calling the GdipDisposeImageAttributes function.
Word Index links for the GdipCreateImageAttributes :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2009-01-16 18:05:43
Modified: 2009-01-16 18:13:07
Visited in last 7 days: 22
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.226.34.209)
19 sec.Function: 'URLDownloadToCacheFile'
35 sec.Function: 'GetMenuItemID'
48 sec.Function: 'LoadBitmap'
1.03 min.
Function group: 'Unicode and Character Set'
1.28 min.Function: 'SetComputerName'
1.53 min.Function: 'GdiplusStartup'
1.8 min.Function: 'GetDateFormat'
2.08 min.Function: 'MQPurgeQueue'
2.33 min.Function: 'GetProcessHeaps'
Google
Advertise here!