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::GetTileMode method

Gets the XPS_TILE_MODE value that describes the tile mode of the brush.

Syntax


HRESULT GetTileMode(
  [out, retval] XPS_TILE_MODE *tileMode
);

Parameters

tileMode [out, retval]

The XPS_TILE_MODE value that describes the tile mode of the brush.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the table that follows. For information about XPS document API return values that are not listed in this table, see XPS Document Errors.

Return codeDescription
S_OK

The method succeeded.

E_POINTER

tileMode is NULL.

 

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. The following illustration shows examples of how the tile image appears in several tile modes.

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
XPS Document Errors
XML Paper Specification

 

 

Show:
© 2017 Microsoft