GdipSetImageAttributesWrapMode

 

 

Description

Sets the wrap mode of this ImageAttributes object.

Syntax

GpStatus WINGDIPAPI GdipSetImageAttributesWrapMode(

    GpImageAttributes *imageAttr,

    WrapMode wrap,

    ARGB argb,

    BOOL clamp

);

PowerBASIC Syntax

DECLARE FUNCTION GdipSetImageAttributesWrapMode ( _

    BYVAL imageattr AS DWORD, _

    BYVAL wrap AS LONG, _

    BYVAL pColor AS DWORD, _

    BYVAL clamp AS LONG _

) AS LONG

Parameters

 

imageattr

[in] Pointer to the ImageAttributes object.

wrap

[in] Element of the WrapMode enumeration that specifies how repeated copies of an image are used to tile an area.

argb

[in] ARGB color object that specifies the color of pixels outside of a rendered image. This color is visible if the wrap parameter is set to WrapModeClamp and the source rectangle passed to GdipDrawImage is larger than the image itself.

clamp

[in] This parameter has no effect in Microsoft Windows GDI+ version 1.0. Set this parameter to FALSE.

 

Valid HTML 4.01 Transitional