[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IFillFormat.TextureAlignment

TextureAlignment Property

TextureAlignment

Gets or sets the alignment of the texture fill for the specified IFillFormat.

This property specifies the origin of the coordinate grid used to tile the texture fill.

Declaration
TextureAlignment TextureAlignment { get; set; }
Property TextureAlignment As TextureAlignment
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 100, 60);
IFillFormat fillFormat = shape.Fill;
fillFormat.PresetTextured(PresetTexture.Canvas);
fillFormat.TextureAlignment = TextureAlignment.Center;
TextureAlignment alignment = fillFormat.TextureAlignment;