Share via


Borders.OutsideColorIndex Property 

Returns or sets the color of the outside borders.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim borders1 As Borders

Dim returnValue As WdColorIndex
returnValue = borders1.OutsideColorIndex

Dim sampleValue As WdColorIndex
borders1.OutsideColorIndex = sampleValue

Syntax

Property OutsideColorIndex() As WdColorIndex
WdColorIndex OutsideColorIndex {get; set;}
property WdColorIndex^ OutsideColorIndex{
    WdColorIndex^ get();
    Void set(WdColorIndex^);
}
public WdColorIndex get_OutsideColorIndex();
public void set_OutsideColorIndex(WdColorIndex);
function get OutsideColorIndex() : WdColorIndex;
function set OutsideColorIndex(WdColorIndex);

Remarks

If the OutsideLineStyle property is set to either wdLineStyleNone or False, setting this property has no effect.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Borders Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Borders Members