Partager via


FillFormat.TextureAlignment Property

Returns or sets the alignment (the origin of the coordinate grid) for the tiling of the texture fill. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property TextureAlignment As MsoTextureAlignment
    Get
    Set
'Usage
Dim instance As FillFormat
Dim value As MsoTextureAlignment

value = instance.TextureAlignment

instance.TextureAlignment = value
MsoTextureAlignment TextureAlignment { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoTextureAlignment

Remarks

The value returned by the TextureAlignment property can be one of these MsoTextureAlignment constants.

msoTextureTopLeft

msoTextureTop

msoTextureTopRight

msoTextureLeft

msoTextureCenter

msoTextureRight

msoTextureBottomLeft

msoTextureBottom

msoTextureBottomRight

The setting of the TextureAlignment property corresponds to the setting of the Alignment box under Tiling Options on the Fill pane of the Format Picture dialog box in the Microsoft PowerPoint user interface (under Drawing Tools, on the Format Tab, in the Shape Styles group, click Format Shape.)

See Also

Reference

FillFormat Interface

FillFormat Members

Microsoft.Office.Interop.PowerPoint Namespace