Spire.Presentation 6.2.2

Spire.Presentation for .NET is a professional PowerPoint® compatible component that enables developers to create, read, write, and modify PowerPoint® documents from any .NET(C#, VB.NET, ASP.NET) platform, NET Core 2.0. .netstand2.0. As an independent PowerPoint .NET component, Spire.Presentation for .NET doesn't need Microsoft PowerPoint installed on the machine.

Spire.Presentation for .NET support PPT, PPS, PPTX and PPSX presentation formats. It provides functions such as managing text, image, shapes, tables, animations, audio and video on slides. It also support exporting presentation slides to EMF, JPG, PDF, XPS, SVG, HTML aand images etc.

There is a newer version of this package available.
See the version list below for details.
Install-Package Spire.Presentation -Version 6.2.2
dotnet add package Spire.Presentation --version 6.2.2
<PackageReference Include="Spire.Presentation" Version="6.2.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Spire.Presentation --version 6.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Spire.Presentation, 6.2.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Spire.Presentation as a Cake Addin
#addin nuget:?package=Spire.Presentation&version=6.2.2

// Install Spire.Presentation as a Cake Tool
#tool nuget:?package=Spire.Presentation&version=6.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Spire.Presentation 6.2.2
New features:
Supports the function of replacing video files(SPIREPPT-1413)

Presentation ppt= new Presentation();
ppt.LoadFromFile(inputFile);
VideoCollection videos = ppt.Videos;
foreach (ISlide sld in ppt.Slides)
{
   foreach (Spire.Presentation.Shape sp in sld.Shapes)
   {
       if (sp is IVideo)
       {
IVideo video = sp as IVideo;
byte[] bts = File.ReadAllBytes("C:/test.mp4");
VideoData videoData = videos.Append(bts);
video.EmbeddedVideoData = videoData;
       }
   }
}
ppt.SaveToFile(outputFile, FileFormat.Pptx2013);

Bug fixes:
Fixes the issue that the output pptx file could not be opended after deleting the shape where the video was located(SPIREPPT-1414)
Fixes the issue that the text of data label in chart was garbled when converting PPT to Image in multithreaded mode.(SPIREPPT-1415)
Fixes the issue that the application threw NullReferenceException when replacing the images in SmartArt(SPIREPPT-1418)
Fixes the issue that the application threw“an object reference is not set to an instance of the object”when loading PPT(SPIREPPT-1430)
Fixes the issue that the bulleted list displayed incorrectly after copying the paragraphs with bulleted list to new slide(SPIREPPT-1451)
Fixes the issue that the application threw{"rgb(255 is not a valid value for Int32. (Parameter 'htmlColor')"}when adding html text (SPIREPPT-1456)
Fixes the issue that the output pptx file got very large after merging two pptx files(SPIREPPT-1457,SPIREPPT-1458)

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Spire.Presentation:

Package Downloads
iCom
iCom integrates a variety of specific operation classes, such as: Cookie, Items, Cache, Form, DbContext, DbDynamic, DbConn, SqlQuery, FileUtil, FileUpload, Crypto, BarCode, StringUtil, TypeConvert, SortList, DateUtil, RegexUtil, Environal, ReflectUtil, HttpClient, ImageUtil, XmlUtil, ZipPackage, WordUtil, ExcelUtil, PdfUtil, PinyinConvert, PdfToImageConverter, JsonConfig, XmlConfig, ObjectCopy, TagHelper, SkipUrlMiddleware and so on. // HttpContext Called in the ConfigureServices method services.AddContextAccessor(); // Called in the Configure method app.UseHttpContext(); // EfCore Called in the ConfigureServices method // Application Assembly var assembly = Assembly.GetExecutingAssembly(); // Register Database Models services.AddDbContext(assembly); // Auto Update Database services.AddMigrate(); // Register All Services services.AddService(assembly);
CoreExtention
Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
6.4.1 112 4/2/2021
6.2.2 377 2/8/2021
6.1.4 257 1/20/2021
6.1.0 2,516 1/12/2021
5.11.4 2,564 11/30/2020
5.11.2 183 11/24/2020
5.9.5 721 9/24/2020
5.8.5 1,933 8/27/2020
5.8.1 309 8/7/2020
5.7.2 353 7/16/2020
5.6.1 1,465 6/4/2020
5.4.2 847 4/13/2020
5.3.6 645 3/20/2020
5.2.1 529 2/26/2020
5.1.0 1,056 1/15/2020
4.12.13 782 12/18/2019
4.11.0 747 11/29/2019
4.10.2 749 10/17/2019
4.9.5 799 9/27/2019
4.8.15 670 8/30/2019
4.8.5 870 8/12/2019
4.7.5 1,246 7/22/2019
4.7.0 506 7/5/2019
4.6.5 411 7/1/2019
4.6.1 706 6/12/2019
4.5.9 446 5/28/2019
4.5.5 436 5/17/2019
4.4.10 521 4/26/2019
4.4.3 418 4/16/2019
4.3.19 490 3/29/2019
4.3.14 439 3/22/2019
4.3.9 624 3/15/2019
4.3.3 679 3/6/2019
4.3.0 675 3/1/2019
4.2.1 639 2/14/2019
4.1.16 24,050 1/28/2019
4.1.0 899 1/10/2019
3.12.9 1,420 12/28/2018
3.12.4 818 12/24/2018
3.11.1 1,239 11/9/2018
3.10.4 709 10/19/2018
3.10.1 574 10/11/2018
3.9.8 610 9/29/2018
3.9.5 6,970 9/21/2018
3.8.4 810 8/17/2018
3.8.0 673 8/2/2018
3.7.5 709 7/30/2018
3.6.9 1,109 6/28/2018
3.6.1 1,514 6/11/2018