Loop through all pdf elements
4 Replies
|
PdfLoadedDocument loadedDocument = new PdfLoadedDocument("../../Data/Sample.pdf");
//Gets the collection of annotations in the PDF page
foreach (var item in loadedDocument.Pages[0].Annotations)
{
}
//Gets the information about the extracted images from PDF page
foreach (var item in loadedDocument.Pages[0].ImagesInfo)
{
|
|
PdfLoadedDocument loadedDocument = new PdfLoadedDocument("../../Data/Sample.pdf");
//Gets the collection of annotations in the PDF page
foreach (var item in loadedDocument.Pages[0].Annotations)
{
}
//Gets the information about the extracted images from PDF page
foreach (var item in loadedDocument.Pages[0].ImagesInfo)
{
|
I need to replace certain texts. Like all "abc" to "ghj" in pdf document and fill certain rectangles with other contents.
SIGN IN To post a reply.