Articles in this section
Category / Section

Is it possible to insert table in BookMark Content?

1 min read

 

Yes, it is possible to insert a table in the Bookmark Content by using the InsertTable method of the Bookmark content object. Please refer to the below code snippet to do so:

C#

// Move to Bookmark Essential Studio

bk.MoveToBookmark("Essential Studio");

// Create Table

IWTable table = new WTable(document);

// Set rows and columns

table.ResetCells(4, 4);

// Insert table in the Bookmark content

bk.InsertTable(k);


VB

'' Move to Bookmark Essential Studio

bk.MoveToBookmark("Essential Studio")

'' Create Table

Dim table As IWTable = New WTable(document)

'' Set rows and columns

table.ResetCells(4, 4)

'' Insert table in the Bookmark content

bk.InsertTable(k)

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied