Spire. Presentation 5.11.2

Spire. Presentation 5.11.2 adds a digital signature function

We are glad to announce the release of Spire. Presentation 5.11.2. This version adds a digital signature function and supports setting colors and custom names for Trendline as well as setting the Morph transition type. Meanwhile, it also fixes the issues occurred in the process of loading and converting PPT to PDF. More details are listed as follows.

Here is a list of changes made in this release

Category ID Description
New Feature - Supports digital signature function
//Add digital signature
X509Certificate2 x509 = new X509Certificate2(inputPfx, "e-iceblue");
ppt.AddDigitalSignature(x509, "111", DateTime.Now);
//Remove digital signature
if (ppt.IsDigitallySigned == true) 
{ 
ppt.RemoveAllDigitalSignatures(); 
New Feature SPIREPPT-1342 Supports setting colors and custom names for trend line of chart.
Presentation ppt = new Presentation();
ppt.LoadFromFile(inputFile);
IChart chart = ppt.Slides[0].Shapes[0] as IChart;
ITrendlines trendline = chart.Series[0].TrendLines[0] as ITrendlines;
trendline.displayEquation = false;
trendline.displayRSquaredValue = false;
trendline.Name = "trendlineName";
trendline.Line.FillType = FillFormatType.Solid;
trendline.Line.SolidFillColor.Color = Color.Red;
ppt.SaveToFile(outputFile, FileFormat.Pptx2010);
ppt.Dispose();
New Feature SPIREPPT-1348 Supports setting Morph transition type.
ppt.Slides[0].SlideShowTransition.Type = TransitionType.Morph;
Bug SPIREPPT-1346 Fixes the issue that the application threw DocumentUnknownFormatException when loading PPT file includes external DTD.
Bug SPIREPPT-1360 Fixes the issue that the content is inconsistent when converting PPT to PDF.
Bug SPIREPPT-1366 Fixes the issue that the application threw IndexOutOfRangeException when loading PPT
Click the link below to download Spire.Presentation 5.11.2:
More information of Spire.Presentation new release or hotfix: