I have the following code which fails at the `.Import` statement:
public
byte
[] PopulateHtmlAndTextBookmarks(
byte
[] input, List<BookmarkInfo> bookmarks)
{
// Get the bytes into the Telerik doc object and load that into an editor
DocxFormatProvider provider =
new
DocxFormatProvider();
RadFlowDocument document = provider.Import(input);
The error is "System.ArgumentNullException: 'Value cannot be null. Parameter name: relationshipId'"
The issue appears to be that I have two images in that file (Open XML relationship IDs "rId7" and "rId8") that point to external URLs. If I change those images to point at files inside the DocX container it works fine.
Does DocxFormatProvider work with external image links?
(I'm using 2018.2.619.40)
PS I've tried to attach the file but it says only .jpg, .jpeg, .gif, .png are allowed
Hello!
I'm trying to add fields from a database into a pdf like the image attached shows. I already read the FormFieldCollection documentation, but I'm lacking the knowledge to make it work.
Can someone please include a code example on how to do this ?
Hi,
I have form fields that are set to "Visible but doesn't print" but it does not seem to have any effect on the PDF after setting the values using the library.
Not sure if I am doing something wrong.
Thanks.
Hi Guys,
I'm finding a solution for two questions using PdfProcessor:
1 - There is a way to convert a pdf document to GrayScale ?
2 - There is a way to compress a existing pdf document ?
Regards,
Cleidson.
Hi,
I need to get the the number of occurrences of a text into word document page wise. Is telerik wordProcessing supports searching for a text into word document page wise? i.e. to search for a text into document page by page and find the number of occurrences.
I would appreciate if you can help me with this.
Thanks,
Savi