Tag: winrt xaml

在winrt中使用syncfusion创buildexcel的createPdf

我正在使用syncfusion的方式来创buildExcel表。 现在我想创build相同格式的PDF。 我看了一下syncfusion的示例代码,它非常复杂。 那么有什么办法可以使用已经创build的Excel来生成PDF文件。 我用这个代码来创buildexcel Assembly executingAssembly = typeof(MainPage).GetTypeInfo().Assembly; Stream inputStream = executingAssembly.GetManifestResourceStream("CRICKIT.Assets.TVM.xlsx"); IWorkbook book = await this.excelEngine.Excel.Workbooks.OpenAsync(inputStream); inputStream.Dispose(); //Create Template Marker Processor ITemplateMarkersProcessor marker = book.CreateTemplateMarkersProcessor(); //Binding the business object with the marker. marker.AddVariable("TVMManager", App.ViewModel.TVMManager); //Applies the marker. marker.ApplyMarkers(UnknownVariableAction.Skip); return book;

将CSV转换为Excel Windows Phone 8

与Windows Phone 8我需要能够在Excel中使用C#打开一个CSV文件。 他们是市场上现在称为Excel Extensions的应用程序,可以在本地转换csv文件。 我已经厌倦了使用开放式办公室XML转换CSV文件,但没有奏效。 我想在本地做,所以没有networking服务。 任何人都知道我可以在Windows Phone 8平台上的CSV文件转换为Excel?