Freigeben über


Tile-Klasse

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

Vererbungshierarchie

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

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

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. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

Tile-Member

DocumentFormat.OpenXml.Drawing-Namespace