IXpsOMTileBrush::SetTileMode method
Sets the XPS_TILE_MODE value that describes the tiling mode of the brush.
Syntax
HRESULT SetTileMode(
[in] XPS_TILE_MODE tileMode
);
Parameters
- tileMode [in]
-
The XPS_TILE_MODE value to be set.
Return value
If the method succeeds, it returns S_OK; otherwise, it returns an HRESULT error code.
| Return code | Description |
|---|---|
|
The method succeeded. |
|
tileMode was not a valid XPS_TILE_MODE value. |
Remarks
The tile mode determines how the tile image is repeated to fill the output area. If the tile mode value is XPS_TILE_MODE_NONE, the tile image is drawn only once.

Requirements
|
Minimum supported client |
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
See also