Tile Class

Tile.When the object is serialized out as xml, its qualified name is a:tile.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.Tile

Namespace:  DocumentFormat.OpenXml.Drawing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class Tile _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As Tile
public class Tile : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

20.1.8.58 tile (Tile)

This element specifies that a BLIP should be tiled to fill the available space. This element defines a "tile" rectangle within the bounding box. The image is encompassed within the tile rectangle, and the tile rectangle is tiled across the bounding box to fill the entire area.

[Example:

The following is a fill with the flip attribute set to "x". The black interior rectangle indicates the tile rectangle. Notice that the adjacent rectangle to the right in the tile has been flipped along the x-axis.

DocumentFormat.OpenXml.Drawing.Tile-image001

end example]

Parent Elements

blipFill (§21.3.2.2); blipFill (§20.1.8.14); blipFill (§20.2.2.1); blipFill (§20.5.2.2); blipFill (§19.3.1.4)

Attributes

Description

algn (Alignment)

Specifies where to align the first tile with respect to the shape. Alignment happens after the scaling, but before the additional offset.

The possible values for this attribute are defined by the ST_RectAlignment simple type (§20.1.10.53).

flip (Tile Flipping)

Specifies the direction(s) in which to flip the source image while tiling. Images can be flipped horizontally, vertically, or in both directions to fill the entire region.

The possible values for this attribute are defined by the ST_TileFlipMode simple type (§20.1.10.86).

sx (Horizontal Ratio)

Specifies the amount to horizontally scale the srcRect.

The possible values for this attribute are defined by the ST_Percentage simple type (§20.1.10.40).

sy (Vertical Ratio)

Specifies the amount to vertically scale the srcRect.

The possible values for this attribute are defined by the ST_Percentage simple type (§20.1.10.40).

tx (Horizontal Offset)

Specifies additional horizontal offset after alignment.

The possible values for this attribute are defined by the ST_Coordinate simple type (§20.1.10.16).

ty (Vertical Offset)

Specifies additional vertical offset after alignment.

The possible values for this attribute are defined by the ST_Coordinate simple type (§20.1.10.16).

[Note: The W3C XML Schema definition of this element’s content model (CT_TileInfoProperties) is located in §A.4.1. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Tile Members

DocumentFormat.OpenXml.Drawing Namespace