[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.TextureType

TextureType Enum

Represents texture fill type enumeration values.

Currently, texture fills are typically created by using PresetTextured(PresetTexture) or UserTextured(string).

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

Fields

Name Description
None

Indicates a combination of the other states and is returned only as a value.

Preset

Specifies that the fill uses a built-in preset texture.

UserDefined

Specifies that the fill uses a user-defined texture.