[]
Represents texture fill type enumeration values.
Currently, texture fills are typically created by using PresetTextured(PresetTexture) or UserTextured(string).
public enum TextureType
Public Enum TextureType
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 10, 10, 80, 40);
TextureType textureType = TextureType.Preset;
if (textureType == TextureType.Preset)
{
shape.Fill.PresetTextured(PresetTexture.Canvas);
}
| 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. |