Syntax
FormatDefineStyleBorders [.ApplyTo = number] [, .Shadow = number] [, .TopBorder = number] [, .LeftBorder = number] [, .BottomBorder = number] [, .RightBorder = number] [, .HorizBorder = number] [, .VertBorder = number] [, .TopColor = number] [, .LeftColor = number] [, .BottomColor = number] [, .RightColor = number] [, .HorizColor = number] [, .VertColor = number] [, .FineShading = number] [, .FromText = number or text] [, .Shading = number] [, .Foreground = number] [, .Background = number] [, .Tab = number]
Remarks
Sets border and shading formats for either the current style or the style specified in a FormatStyle instruction containing the .Define argument. Note that when modifying the style specified with FormatStyle, the FormatDefineStyleBorders instruction follows the FormatStyle instruction.
The arguments for the FormatDefineStyleBorders statement correspond to the options in the Borders And Shading dialog box (Format menu). For argument descriptions, see FormatBordersAndShading. For examples of how to use similar statements to define a style, see FormatDefineStyleFont and FormatDefineStylePara.
See Also
FormatBordersAndShading, FormatDefineStyleFont, FormatDefineStylePara, FormatStyle