Borders.OutsideColor Property
Returns or sets the 24-bit 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 WdColor
returnValue = borders1.OutsideColor
Dim sampleValue As WdColor
borders1.OutsideColor = sampleValue
Syntax
Property OutsideColor() As WdColor
WdColor OutsideColor {get; set;}
property WdColor^ OutsideColor{
WdColor^ get();
Void set(WdColor^);
}
public WdColor get_OutsideColor();
public void set_OutsideColor(WdColor);
function get OutsideColor() : WdColor;
function set OutsideColor(WdColor);
Remarks
The return value can be any valid WdColor constant or a value returned by Visual Basic's RGB function.
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