I'm using SetFontSize() to set the font size of a column. If set it to 10 then the size in the saved Excel document is 7.5. If I set it to 11, 8.5. 10.5 Shows as 8 but isn't really 8 because it's pixelated. Setting it to 8 in Excel shows a nice anti-aliased font.
So, how do I get SetFontSize() to set a real font size of 8 in Excel?
I currently need to format some columns to use the "Accounting format". In your documentation, you talk about the document model exposing number formats. However none of your examples show how to access the document model (def, they show how to create custom number formats. Can you please tell me how I can access the Accounting format?
worksheet.Cells[2, 5].SetFormat(
new
CellValueFormat( SomeEnum/Class.AccountingFormat ));
Hi,
How do I get rid of the warning on Excel that says 'This document was generated by a trial version of Telerik RadSpreadProcessing.'?
Is there a way to check if I have the right dll or license file somewhere?
Thank you!
I have a couple .docx documents to which I've added a few merge fields. When I MailMerge against the documents, the document layout completely changes, section headers get right shifted, underlining removed, form checkboxes vanish, etc.
I've hacked up the mail merge project from here and attached it to demonstrate what I mean (you'll need to remove the .png extension to revert it to a .zip). If you compare Doc1.docx and Doc2.docx to their mail merged versions, you'll see what I mean.
Is this something that's just unsupported or am I doing it wrong?
Hello,
I have an MVC application that I would like to take a PDF file and either convert it into HTML, edit the content, and update the new content into a new PDF.
OR
be able to edit the PDF content and update it into a new PDF file. Would appreciate if you could point to the right Telerik libraries and any examples would be great.I know I can split up pages using the PdfStreamWriter, however editing would need to be done within the page, so splitting is not an option.
Many thanks
I noticed with 2017 R2, you just added Form Fields handling, thats great!
I reviewed another posting about iterating through images in a PDF. Can those images be extracted and replaced with another image?
Does the PDFProcessing library allow adding a watermark to existing PDF?
Thanks
Peter
Hi
I use this code to convert pdf to List<image> but the resolution is not so high and the QR code inside the page is not detachable
Is there some way to improve the resolution (more DPI)?
public
static
List<ImageSource> ConvertPdfToImage(
string
filePath)
{
List<ImageSource> result =
new
List<ImageSource>();
ThumbnailFactory tf =
new
ThumbnailFactory();
using
(Stream stream = File.Open(filePath, FileMode.Open))
{
PdfFormatProvider formatProvider =
new
PdfFormatProvider(stream, FormatProviderSettings.ReadAllAtOnce);
RadFixedDocument document = formatProvider.Import();
foreach
(RadFixedPage page
in
document.Pages)
{
ImageSource pageImg = tf.CreateThumbnail(page, page.Size);
result.Add(pageImg);
}
}
return
result;
}
Thank you
The documentation for the libraries included in Telerik Document Processing is available at http://docs.telerik.com/devtools/document-processing.
This week's latest resources are described below.
RadPdfProcessing
TextFragment
The content of this article is updated to describe the new properties added to the TextFragment class.
RadSpreadProcessing
Headers and Footers
The article is introduced to describe the new feature in RadSpreadProcessing - applying headers and footers when printing a document or exporting to PDF.
RadSpreadStreamProcessing
RadSpreadStreamProcessing
A new help section that explains how you could use the new RadSpreadStreamProcessing library to achieve fast export of spreadsheet documents with minimal memory usage.
Dear Telerik,
Currently I'm trying to export docx to pdf but got some errors.
Here is my export code:
PdfFormatProvider pdfer = new PdfFormatProvider();
using (Stream input = File.OpenRead("E:\\hd.docx"))
{
RadFlowDocument document = provider.Import(input);
pdfer.Export(document, new FileStream(@"E:\hd.pdf", FileMode.Create));
}
And I got this error: "cant convert RadFlowDocument to RadFixedDocument", also when I'm using RadDocument and IDocumentFormatProvider to export like some threads, visual studio couldn't found these class, interface.
My references at attachment file, please look at it.
Thank you very much for your help!
myBlock.InsertImage(
new
ImageSource(myJpegImageStream, ImageQuality.High));