Modifica

Condividi tramite


Border Interface

Definition

Represents a border of an object.

public interface class Border
[System.Runtime.InteropServices.Guid("0002093B-0000-0000-C000-000000000046")]
public interface Border
type Border = interface
Public Interface Border
Attributes

Remarks

The Border object is a member of the Borders collection.

Use Borders(index), where index identifies the border, to return a single Border object. Index can be one of the following WdBorderType constants: wdBorderBottom, wdBorderDiagonalDown, wdBorderDiagonalUp, wdBorderHorizontal, wdBorderLeft, wdBorderRight, wdBorderTop, or wdBorderVertical. Use the LineStyle property to apply a border line to a Border object.

Border objects cannot be added to the Borders collection. The number of members in the Borders collection is finite and varies depending on the type of object. For example, a table has six elements in the Borders collection, whereas a paragraph has four.

Properties

Application

Returns an Application object that represents the Microsoft Word application.

ArtStyle

Returns or sets the graphical page-border design for a document.

ArtWidth

Returns or sets the width (in points) of the specified graphical page border.

Color

Returns or sets the 24-bit color for the specified Border object.

ColorIndex

Returns or sets the color for the specified border object.

Creator

Returns a value that indicates the application in which the specified object was created.

Inside

Returns an inside border that can be applied to the specified object.

LineStyle

Returns or sets the border line style for the specified object.

LineWidth

Returns or sets the line width of an object's border.

Parent

Returns the parent object of the specified object.

Visible

Returns or sets a value that indicates if the specified Border object is visible.

Applies to