[]
Specifies the alignment, which is the origin of the coordinate grid, for tiling a texture fill.
Use this enum with TextureAlignment to control how a texture is aligned within a filled shape, or with TextureAlignment to read the current texture alignment.
public enum TextureAlignment
Public Enum TextureAlignment
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 10, 10, 80, 40);
shape.Fill.PresetTextured(PresetTexture.Canvas);
shape.Fill.TextureAlignment = TextureAlignment.BottomRight;
| Name | Description |
|---|---|
| Bottom | Specifies the bottom alignment. |
| BottomLeft | Specifies the bottom-left alignment. |
| BottomRight | Specifies the bottom-right alignment. |
| Center | Specifies the center alignment. |
| Left | Specifies the left alignment. |
| Right | Specifies the right alignment. |
| Top | Specifies the top alignment. |
| TopLeft | Specifies the top-left alignment. |
| TopRight | Specifies the top-right alignment. |