SetTextureFill Method

Structured Graphics Control

Sets the texture or image source file to be used to fill the shape.

Syntax

HTML<PARAM NAME="Line0001" VALUE="SetTextureFill( xpos, ypos, ImageSourceURL, 0 | 1">
ScriptingSGObj.SetTextureFill( xpos, ypos, ImageSourceURL, 0 | 1 )
FileSetTextureFill
( xpos, ypos, ImageSourceURL, 0 | 1 )

Parameters

xpos, ypos
Sets the x- and y-coordinates for the origin point of the texture, in pixels.
ImageSourceURL
Sets the source image URL.
0 | 1
Sets the type of texture fill, whether scaled (0) or tiled (1) within the bounds of the shape.

Example

Right-click inside the frame and choose View Source to see the HTML code for this example.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.