Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 codeDescription
S_OK

The method succeeded.

E_INVALIDARG

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.

An illustration that shows different examples of different tile mode behaviors

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

Xpsobjectmodel.h

IDL

XpsObjectModel.idl

See also

IXpsOMTileBrush
XPS_TILE_MODE
XML Paper Specification

 

 

Show:
© 2017 Microsoft