Share via


NoShade Property

True if Microsoft Word draws the specified horizontal line without 3-D shading. Read/write Boolean.

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

Applies to | HorizontalLineFormat Object