Share via


Borders.OutsideLineStyle Property 

Returns or sets the outside border for the specified object.

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

Usage

Dim borders1 As Borders

Dim returnValue As WdLineStyle
returnValue = borders1.OutsideLineStyle

Dim sampleValue As WdLineStyle
borders1.OutsideLineStyle = sampleValue

Syntax

Property OutsideLineStyle() As WdLineStyle
WdLineStyle OutsideLineStyle {get; set;}
property WdLineStyle^ OutsideLineStyle{
    WdLineStyle^ get();
    Void set(WdLineStyle^);
}
public WdLineStyle get_OutsideLineStyle();
public void set_OutsideLineStyle(WdLineStyle);
function get OutsideLineStyle() : WdLineStyle;
function set OutsideLineStyle(WdLineStyle);

Remarks

This property can be set to True, False, or a WdLineStyle constant. It returns wdUndefined if more than one kind of border is applied to the specified object; otherwise, False or a WdLineStyle constant.

True sets the line style to the default line style and the line width to the default line width. The default line style and width can be set using the DefaultBorderLineWidth and DefaultBorderLineStyle properties.

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