[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ILineFormat

ILineFormat Interface

Represents line and arrowhead formatting.

Namespace: GrapeCity.Documents.Excel.Drawing
Assembly: DS.Documents.Excel.dll
Syntax
public interface ILineFormat
Public Interface ILineFormat

Properties

Name Description
BeginArrowheadLength

Gets or sets the length of the arrowhead at the beginning of the specified line.

BeginArrowheadStyle

Gets or sets the style of the arrowhead at the beginning of the specified line.

BeginArrowheadWidth

Gets or sets the width of the arrowhead at the beginning of the specified line.

CapStyle

Gets or sets the cap style for the end of the line. Can be one of the LineCapStyle constants.

Color

Returns the IColorFormat object that represents the specified solid color.

DashStyle

Gets or sets the dash style for the specified line. Can be one of the LineDashStyle constants.

EndArrowheadLength

Gets or sets the length of the arrowhead at the end of the specified line.

EndArrowheadStyle

Gets or sets the style of the arrowhead at the end of the specified line.

EndArrowheadWidth

Gets or sets the width of the arrowhead at the end of the specified line.

GradientAngle

Gets or sets the angle of the gradient line for the specified line format.

GradientDegree

Returns the gradient degree of the specified one-color shaded line as a floating-point value from 0.0 (dark) through 1.0 (light).

GradientStops

Returns the end point for the gradient line. This property is read-only.

GradientStyle

Returns the gradient style for the specified line.

GradientVariant

Returns the shade variant for the specified fill as an integer value from 1 through 4.

InsetPen

Gets or sets whether lines are drawn inside the specified shape's boundaries.

JoinStyle

Gets or sets the corners style of two intersecting lines. Can be one of the LineJoinStyle constants.

Pattern

Gets the line pattern.

PatternColor

Returns the IColorFormat object that represents the specified color of patterns.

Style

Gets or sets the LineStyle object that represents the ILineFormat style.

Transparency

Gets or sets the degree of transparency of the specified line as a value from 0.0 (opaque) through 1.0 (clear).

Type

Returns the fill type of the line.

Visible

Gets or sets whether the object is visible.

Weight

Gets or sets the weight of the line.

Methods

Name Description
OneColorGradient(GradientStyle, int, double)

Sets the specified line to a one-color gradient.

Patterned(PatternType)

Sets the specified line to a pattern color.

PresetGradient(GradientStyle, int, PresetGradientType)

Sets the specified line to a preset gradient.

Solid()

Sets the specified line to a uniform color.

TwoColorGradient(GradientStyle, int)

Sets the specified line to a two-color gradient.