Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
140898 | Nov 13,2018 11:59 AM UTC | Nov 14,2018 09:50 AM UTC | UWP | 1 |
![]() |
Tags: DocIO |
public WordDocument FindPlaceHolderAndInsertTable(WordDocument wrd, WTable table, string placeHolderName)
{
//Add the table to the text body part.
TextBodyPart bodyPart = new TextBodyPart(wrd);
bodyPart.BodyItems.Add(table);
//Replace the place holder text with the table.
wrd.Replace(placeHolderName, bodyPart, true, true, false);
return wrd;
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.