When creating a password-protected ZIP archive, if I create a new entry and write to it, and during this process create, write and close a second entry, then the first entry appears to be corrupt when you try to read the file.
For example, the following see the following program:
static void Main(string[] args){ // Create the main ZIP file using (var zipStream = File.Create(@"c:\temp\test.zip")) { var encrypt = new DefaultEncryptionSettings { Password = "nick" }; using (var zipArchive = new ZipArchive(zipStream, ZipArchiveMode.Create,true,null,null,encrypt)) { // Create the 1st entry. using (var entry1 = zipArchive.CreateEntry("text1.txt")) { using (var stream1 = entry1.Open()) { using (var writer1 = new StreamWriter(stream1)) { writer1.WriteLine("Writer 1 line 1"); // While writing the 1st entry, create a second entry using (var entry2 = zipArchive.CreateEntry("text2.txt")) { using (var stream2 = entry2.Open()) { using (var writer2 = new StreamWriter(stream2)) { writer2.WriteLine("Writer 2 line 1"); } } } // Continue writing the 1st entry. writer1.WriteLine("Writer 1 line 2"); } } } } }}
This runs without error. Opening the file using 7-zip, I can read the "text2.txt" entry with no problem with the correct password. However, opening the "text1.txt" file gives an error suggesting the password is wrong.
Program in .NET 4.6, using Telerik.Windows.Zip 2018.3.1010.40.

I have a large project coming up that will be a combination of ASP.net core and .Net core console applications to generate various types of documents for customer consumption. I am trying to take this time now to learn how to use the Telerik document libraries. This page seems to imply that there are specific libraries for .net core https://docs.telerik.com/devtools/document-processing/getting-started/first-steps.
Using nuget, I added Telerik.Documents.Core, Fixed, Flow, Flow.FormatProvideders.PDF to the project.. But when referencing the libraries in the Program.cs using section, it will only autofill Telerik.Documents.Core and Telerik.Zip. Visual Studio 19 does not recognize.Fixed or .Flow libraries.
If I change to the telerick.windows versions of the libraries, VS does add all the libraries without a problem to the application. it compiles but when executing, it throws an error as missing libraries.
What am I missing? Should we only create standard .net console apps & only use the .net core libraries when integrating with asp.net core applications?
Hi!
I am using RadWordsProcessing and load Word`s file.
RadFlowDocument document;DocxFormatProvider fileFormatProvider = new DocxFormatProvider();string fileName = Server.MapPath("./Data/Document.docx");using (FileStream input = new FileStream(fileName, FileMode.Open)){ document = fileFormatProvider.Import(input);}RadFlowDocumentEditor editor = new RadFlowDocumentEditor(document);
Text in the file is written in Times New Roman font.
But when exporting to pdf, the font changes to Segoe UI font.
Why?

I am using version 2019.1.215.
I am importing an excel file to modify some cell values and exporting it.
The issue is that the exported file is displaying the filter icon for the merged cells.
Is this fixed in the latest versions?

Using Telerik UI for Blazor.
Just started experimenting with PDFs, so maybe I just overlooked it.
I can easy draw an image with full opacity, but nowhere in the RadFixedPage or FixedContentEditor settings seems to be anything to set opacity.

Hello,
table cell borders set using
table.Borders = new TableBorders(new Border(BorderStyle.Single));are missing when using PdfFormatProvider to export a PDF. However, they are present when exporting to DOCX. Please advise. Thanks.
Hi,
I'm trying to export excel to PDF with letter head on each page of the PDF. how can I achieve it?
Thanks,
Niraja.

I am using version 2019.1.215 and I am unable to import anything to fix the missing ScatterSeries classes.
SeriesGroup scatterSeriesGroup = chart.Chart.SeriesGroups.First() as ScatterSeriesGroup;ScatterSeries scatterSeries = scatterSeriesGroup.Series.First() as ScatterSeries; scatterSeries.Marker = new Marker(); scatterSeries.Marker.Symbol = MarkerStyle.Plus; scatterSeries.Marker.Size = 22; scatterSeries.Outline.Fill = new SolidFill(Colors.Red);
I have a .net core 3.1 service application.
My company has bought the DevCraft subscription so I believe this gives me access to the Telerik document Process module.
Which nuget packages do I need to install to be able to load and print a PDF document?
I have found a few posts suggesting 'RadPdfViewer' is the class I need to get access to, but I cannot find a nuget package that allows this to be used in my project.
I found this post:- https://feedback.telerik.com/document-processing/1356074-documentprocessing-printing
But it doesnt compile and I cannot seem to be able to use this code snippet:-
RadPdfViewer pdfViewer = new RadPdfViewer();
PdfFormatProvider provider;
using (MemoryStream memoryStream = new MemoryStream())
{
using (Stream stream = File.OpenRead(fileLocation))
{
stream.CopyTo(memoryStream);
}
provider = new PdfFormatProvider(memoryStream, FormatProviderSettings.ReadOnDemand);
pdfViewer.Document = provider.Import();
string fileName = new FileInfo(fileLocation).Name;
PrintSettings printSettings = new PrintSettings() { DocumentName = fileName };
pdfViewer.Print(dialog, printSettings);
}
Would love some assistance on this please, thank you.

In one of the application, we are using Telerik Pdf Processing library to convert docx template into pdf. For a few docx templates, exported PDFs are not identical to docx templates.
I've attached both files - template and generated pdf. In the generated pdf, a table is moved into right side and a few portion of right side is cut (Can't see complete table in pdf).
Template: https://drive.google.com/file/d/1u0geoIkSzT3iRAg3xJaSlNsOmC00_078/view?usp=sharing
Generated PDF Output: https://drive.google.com/file/d/1ceNyE4vUxxafaVOZr7zSwDfUm111eu2L/view?usp=sharing
Following code, we are using to generate pdf from docx
Can anybody tell us what is missing here in code?
Why a table is cut from right side in the generated pdf? Are there any ways to fix this issue?
It would be a great help if anyone could help to fix this issue.
[TestMethod] public void TelerikPdfConversionTest() { string templatePath = Path.Combine(_telerikTemplateDirectory, $@"DependentNearing19.docx"); byte[] data = File.ReadAllBytes(templatePath); var provider = new DocxFormatProvider(); RadFlowDocument doc = provider.Import(data); string templateName = Path.GetFileNameWithoutExtension(templatePath); string pdfPath = Path.Combine(_telerikTemplateDirectory, $@"{templateName}-output.pdf"); if (File.Exists(pdfPath)) { File.Delete(pdfPath); } var pdfProvider = new PdfFormatProvider(); using (Stream output = File.OpenWrite(pdfPath)) { pdfProvider.Export(doc, output); } Assert.IsTrue(File.Exists(pdfPath)); }