NoShade Property

Microsoft Word Visual Basic

expression.NoShade

expression    Required. An expression that returns a HorizontalLineFormat object.

Remarks

You can only use this property with horizontal lines that are not based on an existing image file.

Example

This example adds a horizontal line without any 3-D shading.

Selection.InlineShapes.AddHorizontalLineStandard
ActiveDocument.InlineShapes(1) _
    .HorizontalLineFormat.NoShade = True