Using Win32 functions in Visual FoxPro Image Gallery
GDI+ Brush
Code examples:
Adding a background image to VFP report (VFP9, ReportListener)
..msdn    Add comment     W32 Constants      Translate this page
Creates a brush that contains an Image object that is used for the fill.
Code examples:
Adding a background image to VFP report (VFP9, ReportListener)
GpStatus WINGDIPAPI GdipCreateTexture(
    GpImage *image,
    GpWrapMode wrapmode,
    GpTexture **texture
FoxPro declaration:
DECLARE INTEGER GdipCreateTexture IN gdiplus;
    INTEGER img,;
    LONG wrapmode,;
    INTEGER @texture
[in] Handle to Image Object

[in] Element of the WrapMode enumeration that specifies how repeated copies of an image are used to tile an area when it is painted with this texture brush.

[out] Handle of the brush object.
Return value:
Returns 0 on success.
GdipCreateTexture(hImage, 0, @hBrush)
My comment:
See also: GdipCreateSolidFill, GdipDeleteBrush, GdipFillRectangle
Word Index links for the GdipCreateTexture :
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2009-12-16 22:17:57
Modified: 2009-12-16 22:25:09
Visited in last 7 days: 101
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.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
17 sec.
Function group: 'Network Management'
36 sec.Function: 'WNetGetUser'
51 sec.Function: 'CeCloseHandle'
1.17 min.Function: 'GdipDeleteFontFamily'
1.43 min.Function: 'DeletePort'
1.73 min.
Function group: 'Power Management'
2.02 min.Function: 'GetCharABCWidths'
2.3 min.Function: 'GetAncestor'
2.57 min.Function: 'GetLongPathName'
2.85 min.Function: 'GetThreadDesktop'
Advertise here!