Is this possible? I only see the ability to use the page number.
// Specify to split the output into multiple pages
htmlOptions.SplitIntoPages = true;.
Is this possible? I only see the ability to use the page number.
// Specify to split the output into multiple pages
htmlOptions.SplitIntoPages = true;.
You can achieve your requirements by following below steps:
Document newDoc = new Document();
newDoc.Pages.Add(oldDoc.Pages[extractedPageNumber]);
In case you face any issue, please feel free to let us know.
Thanks Asad!