Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Setting the borders for the tables in word

Setting the borders for the tables in word

Scheduled Pinned Locked Moved C / C++ / MFC
c++testingtools
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Chandrasekharan P
    wrote on last edited by
    #1

    i am doing an word automation application in vc++. Here i need to create tables, which i have done. Now i need to set the borders for the tables. the tables that are created does not have borders by default. i did some R&D and created gridlines. But that is not what i wanted. I wanted borders for the tables. Please give me some leads on this

    M 1 Reply Last reply
    0
    • C Chandrasekharan P

      i am doing an word automation application in vc++. Here i need to create tables, which i have done. Now i need to set the borders for the tables. the tables that are created does not have borders by default. i did some R&D and created gridlines. But that is not what i wanted. I wanted borders for the tables. Please give me some leads on this

      M Offline
      M Offline
      Madhu Nair 0
      wrote on last edited by
      #2

      Please see this automation code (VB) this will give a hint

      .Borders(wdBorderTop)
      .LineStyle = Options.DefaultBorderLineStyle
      .LineWidth = Options.DefaultBorderLineWidth
      .Color = Options.DefaultBorderColor

      Shows that you should select the Borders collection of particular table and then set the LineStyle and LineWidth values/properties. Also be sure that Borders.Enabled is true.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups