DefaultBorderLineStyle Property

Applies To

Options object.

Description

Returns or sets the default border line style. Read/write Long.

Can be one of the following WdLineStyle constants:

  • wdLineStyleDashDot
  • wdLineStyleDashDotDot
  • wdLineStyleDashDotStroked
  • wdLineStyleDashLargeGap
  • wdLineStyleDashSmallGap
  • wdLineStyleDot
  • wdLineStyleDouble
  • wdLineStyleDoubleWavy
  • wdLineStyleEmboss3D
  • wdLineStyleEngrave3D
  • wdLineStyleNone
  • wdLineStyleSingle
  • wdLineStyleSingleWavy
  • wdLineStyleThickThinLargeGap
  • wdLineStyleThickThinMedGap
  • wdLineStyleThickThinSmallGap
  • wdLineStyleThinThickLargeGap
  • wdLineStyleThinThickMedGap
  • wdLineStyleThinThickSmallGap
  • wdLineStyleThinThickThinLargeGap
  • wdLineStyleThinThickThinMedGap
  • wdLineStyleThinThickThinSmallGap
  • wdLineStyleTriple

See Also

DefaultBorderColorIndex property, DefaultBorderLineWidth property, Enable property.

Example

This example sets the default line style to double.

Options.DefaultBorderLineStyle = wdLineStyleDouble
This example returns the current default line style.

temp = Options.DefaultBorderLineStyle