[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.TextureAlignment

TextureAlignment Enum

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.

Namespace: GrapeCity.Documents.Excel.Drawing
Assembly: DS.Documents.Excel.dll
Syntax
public enum TextureAlignment
Public Enum TextureAlignment
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 10, 10, 80, 40);
shape.Fill.PresetTextured(PresetTexture.Canvas);
shape.Fill.TextureAlignment = TextureAlignment.BottomRight;

Fields

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.