Edit

Share via


LineFormat Interface

Definition

Represents line and arrowhead formatting.

public interface class LineFormat : Microsoft::Office::Core::_IMsoDispObj
[System.Runtime.InteropServices.Guid("000C0317-0000-0000-C000-000000000046")]
public interface LineFormat : Microsoft.Office.Core._IMsoDispObj
Public Interface LineFormat
Implements _IMsoDispObj
Attributes
Implements

Remarks

For a line, the LineFormat object contains formatting information for the line itself; for a shape with a border, this object contains formatting information for the shape's border.

Use the Line property to return a LineFormat object.

Properties

Application

Returns an Application object that represents the Microsoft Excel application.

BackColor

Returns a ColorFormat object that represents the specified fill background color.

BeginArrowheadLength

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

BeginArrowheadStyle

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

BeginArrowheadWidth

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

Creator

Returns a 32-bit integer that indicates the application in which this object was created.

DashStyle

Returns or sets the dash style for the specified line. Can be one of the MsoLineDashStyle constants.

EndArrowheadLength

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

EndArrowheadStyle

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

EndArrowheadWidth

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

ForeColor

Returns a ColorFormat object that represents the specified foreground fill or solid color.

InsetPen

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

Parent

Returns the parent object for the specified object.

Pattern

Returns or sets the fill pattern.

Style

Returns a Style object that represents the style of the specified range.

Transparency

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

Visible

Determines whether the object is visible.

Weight

Returns or sets the weight of the line.

Applies to