Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.22 KB

GdipCreateTexture.md

File metadata and controls

58 lines (39 loc) · 1.22 KB

Home

Function name : GdipCreateTexture

Group: GDI+ Brush - Library: gdiplus


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)

Declaration:

GpStatus WINGDIPAPI GdipCreateTexture(
	GpImage *image,
	GpWrapMode wrapmode,
	GpTexture **texture
);  

FoxPro declaration:

DECLARE INTEGER GdipCreateTexture IN gdiplus;
	INTEGER img,;
	LONG wrapmode,;
	INTEGER @texture  

Parameters:

image [in] Handle to Image Object

wrapmode [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.

texture [out] Handle of the brush object.


Return value:

Returns 0 on success.


Comments:

See also: GdipCreateSolidFill, GdipDeleteBrush, GdipFillRectangle.