Freigeben über


XPS_TILE_MODE enumeration

Describes the tiling behavior of a tile brush.

Syntax

typedef enum  { 
  XPS_TILE_MODE_NONE    = 1,
  XPS_TILE_MODE_TILE,
  XPS_TILE_MODE_FLIPX,
  XPS_TILE_MODE_FLIPY,
  XPS_TILE_MODE_FLIPXY
} XPS_TILE_MODE;

Constants

  • XPS_TILE_MODE_NONE
    Only the base tile is drawn.

  • XPS_TILE_MODE_TILE
    First, the base tile is drawn. Next, the remaining area is filled by repeating the base tile such that the right edge of one tile is adjacent to the left edge of the next, and similarly for bottom and top.

  • XPS_TILE_MODE_FLIPX
    The same as XPS_TILE_MODE_TILE, but alternate columns of tiles are flipped horizontally.

  • XPS_TILE_MODE_FLIPY
    The same as XPS_TILE_MODE_TILE, but alternate rows of tiles are flipped vertically.

  • XPS_TILE_MODE_FLIPXY
    The combination of the effects produced by XPS_TILE_MODE_FLIPX and XPS_TILE_MODE_FLIPY.

Remarks

The following illustration shows the effect of each tile mode on how a tiled brush fills the output area.

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

XML Paper Specification