ImageSource imageSource = new ImageSource(new MemoryStream(this.ConvertWmfImageToPng(stream)));document.Pages.AddPage().Content.AddImage(imageSource);...private byte[] ConvertWmfImageToPng(Stream wmfImageStream){ byte[] pngBytes; using (MemoryStream pngImageStream = new MemoryStream()) { System.Drawing.Image imageDrawing = System.Drawing.Image.FromStream(wmfImageStream); imageDrawing.Save(pngImageStream, System.Drawing.Imaging.ImageFormat.Png); pngBytes = pngImageStream.ToArray(); } return pngBytes;}When there is long text that is out of the used cell range area, this text should be included in page splitting calculations.
Also, when a cell has text that overflows its width, the text is again clipped by the cell boundaries and is not visible in the exported PDF. In a similar case Excel exports the surrounding cells to ensure that the content is visible.
Workaround: Extend the used cell range to include all the cells which the text content spans.
This request is to ask that the development team review the code inside the Documents for refactoring to see if certain things can be reduced (like Generics).
When using the Telerik UI for Xamarin and referencing the UI.for.Xamarin NuGet package, the assembly reference for the Telerik.Documents.Fixed.dll is added to the project. This increases the amount of code that is compiled when the Linker is only set to SDK only, thus breaking AOT compilation with LLVM enabled.
A few addition insights:
- When the project cannot set the Linker to SDK and User Assemblies
- When individually referencing DLLs for only what the project uses is an insufficient solution
- When installing sub-packages like Telerik.UI.for.Xamarin.DataGrid is an insufficient solution.
Thank you.