Partager via


LineFormat Members (Word)

Represents line and arrowhead formatting. 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.

Properties

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

BackColor

Returns or sets a ColorFormat object that represents the background color for a patterned line. Read/write.

BeginArrowheadLength

Returns or sets the length of the arrowhead at the beginning of the specified line. Read/write MsoArrowheadLength.

BeginArrowheadStyle

Returns or sets the style of the arrowhead at the beginning of the specified line. Read/write MsoArrowheadStyle.

BeginArrowheadWidth

Returns or sets the width of the arrowhead at the beginning of the specified line. Read/write MsoArrowheadWidth.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

DashStyle

Returns or sets the dash style for the specified line. Read/write MsoLineDashStyle.

EndArrowheadLength

Returns or sets the length of the arrowhead at the end of the specified line. Read/write MsoArrowheadLength.

EndArrowheadStyle

Returns or sets the style of the arrowhead at the end of the specified line. Read/write MsoArrowheadStyle.

EndArrowheadWidth

Returns or sets the width of the arrowhead at the end of the specified line. Read/write MsoArrowheadWidth.

ForeColor

Returns or sets a ColorFormat object that represents the foreground color for the line. Read/write.

InsetPen

MsoTrue to draw lines inside a specified shape. Read/write MsoTriState.

Parent

Returns an Object that represents the parent object of the specified LineFormat object.

Pattern

Returns or sets a value that represents the pattern applied to the specified line. Read/write MsoPatternType.

Style

Returns or sets the line format style. Read/write MsoLineStyle.

Transparency

Returns or sets the degree of transparency of line. Read/write Single.

Visible

True if the specified object, or the formatting applied to it, is visible. Read/write MsoTriState.

Weight

Returns or sets the thickness of the specified line in points. Read/write Single.