Aspose.Slides.NET 14.8.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Aspose.Slides.NET --version 14.8.0                
NuGet\Install-Package Aspose.Slides.NET -Version 14.8.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspose.Slides.NET" Version="14.8.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Slides.NET --version 14.8.0                
#r "nuget: Aspose.Slides.NET, 14.8.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.Slides.NET as a Cake Addin
#addin nuget:?package=Aspose.Slides.NET&version=14.8.0

// Install Aspose.Slides.NET as a Cake Tool
#tool nuget:?package=Aspose.Slides.NET&version=14.8.0                

Aspose.Slides is a PowerPoint management library for working with Microsoft PowerPoint files without using Microsoft PowerPoint. It allows developers to work with PPT, PPS, POT, PPTX, PPSX, POTX and ODP files on ASP.NET web applications, web services and Windows applications.

Product Compatible and additional computed target framework versions.
.NET Framework net20 is compatible.  net35 was computed.  net35-client is compatible.  net40 was computed.  net40-client is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
23.6.0 2 6/23/2023
23.4.0 2 4/20/2023
21.6.0 4 6/17/2021
21.2.0 10 3/11/2021
15.3.1 415 4/23/2015
15.3.0 214 4/14/2015
15.2.0 924 3/6/2015
15.1.0 305 2/3/2015
14.10.0 1,030 11/28/2014
14.9.0 574 11/11/2014
14.8.1 642 10/24/2014
14.8.0 210 10/16/2014
14.7.0 921 9/7/2014
14.6.0 622 8/6/2014
14.5.0 358 7/16/2014
14.4.0 702 6/2/2014
14.3.0 302 5/6/2014
14.2.0 181 3/24/2014
14.1.2 167 2/17/2014
14.1.1 113 2/10/2014
14.1.0.2 114 2/6/2014
13.12.0 198 12/30/2013
8.4.2 251 6/5/2014
8.4.1 157 5/6/2014
8.4.0 121 3/3/2014
8.3.0.1 126 2/3/2014
8.2.0 115 12/27/2013
8.1.0 2,042 12/16/2013
8.0.0 177 10/25/2013
7.9.0 155 10/8/2013
7.8.0 128 9/3/2013
7.7.0 133 8/4/2013
7.6.0 129 7/5/2013
7.5.0 131 5/27/2013
7.4.0 2,335 4/24/2013
7.3.0 117 4/10/2013
7.2.0 134 3/8/2013
7.1.0 135 1/28/2013
7.0.0 131 12/31/2012
6.9.0 123 12/10/2012
6.8.0 116 10/30/2012
6.7.0 167 10/4/2012
6.6.0 125 9/13/2012
6.5.0 125 7/27/2012
6.4.0 123 6/27/2012
6.3.0 117 5/29/2012
6.2.0 121 5/7/2012
6.1.0 123 3/28/2012
6.0.0 122 3/2/2012
5.9.0.1 115 2/16/2012
5.9.0 126 2/16/2012

Aspose.Slides for .NET 14.8.0 Release Notes
We are pleased to announce the release of Aspose.Slides for .NET 14.8.0. This release includes new functionality and bug fixes.

Using Aspose.Slides for .NET you can work with PPT, PPTX, OpenDocument, and other formats in your applications. You can also view, generate, modify, convert, render and print presentations all without using
Microsoft PowerPoint.

Visit the documentation to learn how to <a href="http://www.aspose.com/docs/display/slidesnet/Getting+Started"> get started with Aspose.Slides for .NET.

Note this download contains a fully working version of the product,
however without a license set it will run in evaluation mode. To test
Aspose.Slides without these evaluation limitations you can <a href="http://www.aspose.com/corporate/purchase/temporary-license.aspx"> request a free 30-day temporary license.

The following is a list of changes in this version of Aspose.Slides.
Major Features

- SLIDESNET-33267 - Support for managing VBA macros inside presentation

Minor Features

- SLIDESNET-35554 - Feature to Join Portion together having same formatting
- SLIDESNET-34412 - Support for chart series overlap option
- SLIDESNET-11046 - Pass the validation check of MS Office 2010

Other improvements and changes
Bug Fixes

- SLIDESNET-35786 - Page number changes to * after conversion from PPT to PDF
- SLIDESNET-35783 - NullReference exception on saving presentation
- SLIDESNET-35776 - ArgumentException: An entry with the same key already exists. when opening the PPTX file
- SLIDESNET-35763 - ArgumentException occurs during thumbnails creation
- SLIDESNET-35762 - Number is replaced with * in the generated PDF
- SLIDESNET-35721 - Shape thumbnail throw exception if the shape dimension is in double values
- SLIDESNET-35719 - PPTX to PDF: Chart Series missing in the generated file
- SLIDESNET-35684 - KeyNotFound exception on loading presentation
- SLIDESNET-35678 - Tags are not saved for PPT presentation
- SLIDESNET-35677 - Chart legend is missing in generated PDF
- SLIDESNET-35672 - Animations in slide are disturbed in cloned presentation
- SLIDESNET-35667 - Cell borders are missing in exported PDF
- SLIDESNET-35659 - The text missing and rendering at wrong position
- SLIDESNET-35658 - Slide chart is improperly rendered in generated thumbnail
- SLIDESNET-35646 - Text is improperly rendered in generated XPS
- SLIDESNET-35627 - ArgmentException on saving PPTX presentation
- SLIDESNET-35619 - ArgumentException on saving presentation
- SLIDESNET-35618 - PptxDeserializator.AfterLoad throws KeyNotFoundException
- SLIDESNET-35613 - Wrong font rendered in generated Pdf
- SLIDESNET-35612 - Charts are missing contents after conversion to PNG and Pdf
- SLIDESNET-35577 - Page Numbers are not coming in right position in generated PDF file
- SLIDESNET-35570 - InvertIfNegative values are rendered with colors in generated PDF/thumbnail
- SLIDESNET-35530 - Slide number rendered as asterisk in generated PDF
- SLIDESNET-35525 - Text overlapping in generated PDF
- SLIDESNET-35524 - Text missing in generated PDF
- SLIDESNET-35522 - Text position is improperly rendered in generated PDF
- SLIDESNET-35519 - Exception on Opening the file: Object reference not set to an instance of an object
- SLIDESNET-35475 - Shapes added over chart are missing or improperly rendered in generated thumbnails
- SLIDESNET-35453 - Y Axis Labels direction is not proper after converting to PDF file
- SLIDESNET-35452 - X Axis Labels direction is not proper after converting to PDF file
- SLIDESNET-35451 - Pie Chart Labels missing in the generated PDF file
- SLIDESNET-35450 - X Axis labels are touching the Legend in generated PDF file
- SLIDESNET-35449 - Average Lines on Chart were dashed but displayed as solid in generated PDF file
- SLIDESNET-35444 - Text cutting off in generated PDF file
- SLIDESNET-35443 - Issue in displaying text in the generated PDF file
- SLIDESNET-35442 - Bullet Missing when converting PPT to PDF
- SLIDESNET-35419 - Saving the presentation causes PowerPoint to crash
- SLIDESNET-35323 - Macros lost when saving PPT or PPTM presentation
- SLIDESNET-35196 - Multilevel list items have wrong bullet indentation beyond the first level
- SLIDESNET-35083 - Text region is improperly rendered in generated HTML
- SLIDESNET-35082 - Wrong bullets are rendered for text in generated HTML
- SLIDESNET-35081 - Wrong bullet indentation for bulleted text is appearing in generate HTML
- SLIDESNET-35073 - Page numbers coming as asterik in generated Tiff
- SLIDESNET-35030 - PPT to XPS conversion generates corrupt XPS file
- SLIDESNET-34901 - PPTX to PDF: Improper space in chart after series in generated PDF file
- SLIDESNET-34009 - Text orientation changed on exporting to PDF and Image
- SLIDESNET-33482 - Incorrect drawing of the text with 2D-morphing

Public API Changes

IVbaProject interface has been added, Presentation.VbaProject property has been changed

VbaProject property of Presentation class has been replaced. Instead of raw bytes VbaProject property representation of VBA project, the new IVbaProject interface implementation added.
Use new IVbaProject to manage VBA Project embedded in the presentation. You can add new project references, edit existing modules and create new ones.
Also, you can create a new VBA Project using VbaProject class which implements IVbaProject interface.
Following example shows creation of the simple VBA project containing one module and adding two required references to the libraries.

using (Presentation pres = new Presentation())
{
   // Create new VBA Project
   pres.VbaProject = new VbaProject();

   // Add empty module to the VBA project
   IVbaModule module = pres.VbaProject.Modules.AddEmptyModule("Module");

   // Set module source code
   module.SourceCode =
       @"Sub Test(oShape As Shape)
           MsgBox ""Test""
       End Sub";

   // Create reference to stdole
   VbaReferenceOleTypeLib stdoleReference =
       new VbaReferenceOleTypeLib("stdole", "*\\G{00020430-0000-0000-C000-000000000046}#2.0#0#C:\\Windows\\system32\\stdole2.tlb#OLE Automation");

   // Create reference to Office
   VbaReferenceOleTypeLib officeReference =
       new VbaReferenceOleTypeLib("Office", "*\\G{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}#2.0#0#C:\\Program Files\\Common Files\\Microsoft Shared\\OFFICE14\\MSO.DLL#Microsoft Office 14.0 Object Library");

   // Add references to the VBA project
   pres.VbaProject.References.Add(stdoleReference);
   pres.VbaProject.References.Add(officeReference);

   pres.Save("test.pptm", SaveFormat.Pptm);
}

This example shows how you can copy VBA project from existing presentation to a newly created

using (Presentation pres1 = new Presentation("PresentationWithMacroses.pptm"), pres2 = new Presentation())
{
   pres2.VbaProject = new VbaProject(pres1.VbaProject.ToBinary());
}

Property Aspose.Slides.Charts.IChartSeries.Overlap has been added

Property Aspose.Slides.Charts.IChartSeries.Overlap specifies how much bars and columns shall overlap on 2-D charts (from -100 to 100).
This is the property not only of this series but of all series of parent series group - this is projection of appropriate group property. And so this property is read-only.
Use ParentSeriesGroup property for access to parent series group.  
Use ParentSeriesGroup.Overlap read/write property for change value.

using (Presentation pres = new Presentation())
{
  IChart chart = pres.Slides[0].Shapes.AddChart(ChartType.ClusteredColumn, 50, 50, 600, 400, true);
  IChartSeriesCollection series = chart.ChartData.Series;
  if (series[0].Overlap == 0)
     {
           series[0].ParentSeriesGroup.Overlap = -30;
     }
}

Property Aspose.Slides.Charts.IChartSeriesGroup.Overlap has been added

Property Aspose.Slides.Charts.IChartSeriesGroup.Overlap property specifies how much bars and columns shall overlap on 2-D charts (from -100 to 100).

using (Presentation pres = new Presentation())
{
  IChart chart = pres.Slides[0].Shapes.AddChart(ChartType.ClusteredColumn, 50, 50, 600, 400, true);
  IChartSeriesCollection series = chart.ChartData.Series;
  series[0].ParentSeriesGroup.Overlap = -30;
}

ShapeThumbnailBounds.Appearance enum value has been added

This method of shape thumbnail creation allows to generate a shape thumbnail in the bounds of its appearance. It takes into account all shape effects. The generated shape thumbnail is restricted by slide bounds.

using (Presentation p = new Presentation("Presentation.pptx"))
{
   Bitmap st = p.Slides[0].Shapes[0].GetThumbnail(ShapeThumbnailBounds.Appearance, 1, 1);
   st.Save("ShapeThumbnail.png", ImageFormat.Png);
}