MemoryStream newStream = new MemoryStream();
using (PdfStreamWriter fileWriter = new PdfStreamWriter(newStream, true))
{
using (PdfFileSource fileSource = new PdfFileSource(primaryStream))
{
foreach (PdfPageSource pageSource in fileSource.Pages)
{
fileWriter.WritePage(pageSource);
}
}
using (PdfFileSource fileSource = new PdfFileSource(appendStream))
{
foreach (PdfPageSource pageSource in fileSource.Pages)
{
fileWriter.WritePage(pageSource);
}
}
}
I am attaching a simple sample app to show the problem. I have an app that makes a catalog of images. somewhere between 4000 and 4500 images, the docx is created, but I get an OutOfMemoryException when creating the pdf. Also if the pdf is created, it is larger than the docx. The docx was around 483MB.
in the app load an image (one is provided), select number of images from spineditor and hit create catalog button and wait for the process to complete.
1. why is pdf larger than docx
2. What to do about the OutofMemoryException.
I have clients that will have > 10,000 images.
app if too large to attach (46MB)
temp link to dropbox is here: https://www.dropbox.com/t/0gHCjVvo2gNNN3id
I'm working with SpreadStreamProcessing. I want to set the background color for each of the cells in a specific row.
Created an excel mockup and like the "Blue, Accent 5, Lighter 40%". How can I find the RGB code for this?
Also is there somewhere one can find a color converter to RGB or visa versa?
Hi team Telerik
Now, I using RadFixedDocument to export PDF include html,
sample
row1TableCell.Borders = new TelerikEditting.Tables.TableCellBorders(tableBorder, tableBorder, tableBorder, tableBorder);
Block row1TableCellBlock = row1TableCell.Blocks.AddBlock();
row1TableCellBlock.InsertText("<a href="google.com" taget="_blank"> Click</a>");
Block can insert only text,
How can I insert html,
Please help me,
Thanks
When I am on the Telerik site I request a trial of Document Processing.
It provides the Progress Trial Installer as the download.
Is the set of Products to Install, I cannot find Telerik Document Processing listed. All the products listed are either UI tools or reporting tools.
Confused about how to obtain a trial install of the Document processing libraries...
EDIT: Ok I found in the docs.
The Telerik Document Processing libraries are available in .NET Standard and .NET Core compatible versions. You can download the assemblies of these libraries from the UI for Xamarin, UI for ASP.NET Core and UI for Blazor suites, respectively.
Hi, I use RadFlowDocument to generate the PDF and some of the characters are not displayed,
i.e. Âge is displayed as ge; no matter which font I choose.
How can I setup the RadPdfDocument to make this work?
Regards
I've a .NET core web-api project and I need to edit the existing pdf (like adding an image/ text) without using UI. The pdf files are stored in Azure Cloud which I can access through URI.
So, is that doable? Would appreciate if you could point me to the right Telerik libraries and any examples would be great.
I'm using Telerik UI for Blazor and have to create some PDFs (via RadFixedDocument and PdfFormatProvider). This works fine so far.
But I also have to display a preview of the Document on my blazor-generated website (server side, not WebAssembly). It doesn't matter if this is a preview of the FixedDocument or of the generated PDF.
Does a control for "Telerik UI for Blazor" exist which can display the RadFixedDocument or the PDF? Or is there a possibility to export the RadFixedDocument or the PDF to an image and I can display this image? Or is there another way for making the created Document visible for preview?
TIA
Rudi
Hi
I would like to insert a jpg at specified or predefined (field) location in the PDF, is it possible?
My code based is .Net Core c#, thank you.
Hi,
Is there a way to overwrite existing files when unpacking from a zip with ZipFile.ExtractToDirectory()?
Thanks,
Marc