ramloha.blogg.se

Add border to text in word 2010
Add border to text in word 2010








Visible property does not have much to offer a developer. Visible property applies to an individual border, for example: ActiveDocument.Styles("MyParagraphStyle").Borders(wdBorderBottom).Visible = True If you choose a line width that is incompatible with your line style, you'll get an error. There does not appear to be any way to determine valid combinations of. You can see in the user interface that, for example, a wavy line is only available in 0.75pt or 1.5pt, and a double wavy line only available in 0.75pt. Not every line style is available in every width. So in general, set the properties in the order shown above. Therefore, if you want a border, you must set the. LineStyle is wdLineStyleNone, then you can't set the. With some exceptions due to what I consider to be bugs, you can control a single border using its three three main properties: Setting the LineStyle, LineWidth and Color for each border

#ADD BORDER TO TEXT IN WORD 2010 PLUS#

  • a table cell has 8 (4 outside borders, vertical and horizontal plus two diagonals).
  • a paragraph has 5 (top, right, bottom, left plus horizontal).
  • a Font object has 1 border (in the user interface this is described as a border on the "Text").
  • But not all objects have the same number of borders. Lots of objects in the Word object model have borders. Setting individual borders How many borders?

    add border to text in word 2010

    This page seeks to describe my experience with setting and controlling borders in styles.

    add border to text in word 2010

    Microsoft's documentation of borders in styles in the VBA help files is poor.








    Add border to text in word 2010