Aspose.Slides.NET 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.

There is a newer version of this package available.
See the version list below for details.
Install-Package Aspose.Slides.NET -Version 14.8.0
dotnet add package Aspose.Slides.NET --version 14.8.0
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

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);
}

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
19.9.0 2,774 9/12/2019
19.8.0 1,387 8/30/2019
19.7.0 9,557 7/26/2019
19.6.0 3,117 6/25/2019
19.5.0 4,921 5/31/2019
19.4.0 5,734 4/26/2019
19.3.0 3,039 4/3/2019
19.2.0 7,448 2/28/2019
19.1.0 9,228 1/30/2019
18.12.0 5,155 12/27/2018
18.11.0 4,147 11/30/2018
18.10.0 13,026 10/30/2018
18.9.0 3,300 9/30/2018
18.8.0 3,625 8/29/2018
18.7.0 9,896 7/27/2018
18.6.0 13,245 7/1/2018
18.5.0 6,372 5/30/2018
18.4.0 3,529 5/3/2018
18.3.0 3,252 4/1/2018
18.2.1 5,819 3/7/2018
18.2.0 2,099 2/28/2018
18.1.0 3,258 1/30/2018
17.12.1 5,719 12/26/2017
17.12.0 857 12/16/2017
17.11.0 1,341 11/30/2017
17.10.0 4,540 10/31/2017
17.9.1 3,557 10/12/2017
17.9.0 1,544 10/2/2017
17.8.0 9,812 8/30/2017
17.7.0 6,235 7/31/2017
17.6.0 2,498 7/1/2017
17.5.0 2,046 5/31/2017
17.4.0 2,729 4/28/2017
17.3.0 3,164 4/2/2017
17.2.0 7,933 3/1/2017
17.1.0 3,188 1/31/2017
16.12.1 3,954 1/16/2017
16.12.0 1,567 12/27/2016
16.11.0 2,425 11/30/2016
16.10.0 2,390 11/4/2016
16.9.0 3,209 10/12/2016
16.8.0 2,959 9/27/2016
16.7.0 1,541 8/22/2016
16.6.0 18,356 7/15/2016
16.5.0 3,256 6/16/2016
16.4.0 3,715 5/16/2016
16.3.0 8,270 4/11/2016
16.2.0 4,305 3/17/2016
16.1.0 6,295 2/4/2016
15.11.0 10,398 1/11/2016
15.10.0 9,255 12/10/2015
15.9.0 5,873 11/6/2015
15.8.1 944 10/16/2015
15.8.0 1,242 10/5/2015
15.7.0 3,228 9/3/2015
15.6.0 8,200 7/22/2015
15.5.0 2,767 6/16/2015
15.4.0 1,832 5/14/2015
15.3.1 1,030 4/23/2015
15.3.0 693 4/14/2015
15.2.0 10,914 3/6/2015
15.1.0 1,314 2/3/2015
14.10.0 4,673 11/28/2014
14.9.0 1,512 11/11/2014
14.8.1 1,409 10/24/2014
14.8.0 653 10/16/2014
14.7.0 1,867 9/7/2014
14.6.0 1,159 8/6/2014
14.5.0 3,158 7/16/2014
14.4.0 1,777 6/2/2014
14.3.0 2,008 5/6/2014
14.2.0 1,176 3/24/2014
14.1.2 1,589 2/17/2014
14.1.1 654 2/10/2014
14.1.0.2 571 2/6/2014
13.12.0 1,512 12/30/2013
8.4.2 5,688 6/5/2014
8.4.1 1,176 5/6/2014
8.4.0 792 3/3/2014
8.3.0.1 688 2/3/2014
8.2.0 635 12/27/2013
8.1.0 5,106 12/16/2013
8.0.0 1,661 10/25/2013
7.9.0 1,027 10/8/2013
7.8.0 747 9/3/2013
7.7.0 3,636 8/4/2013
7.6.0 819 7/5/2013
7.5.0 1,055 5/27/2013
7.4.0 7,333 4/24/2013
7.3.0 842 4/10/2013
7.2.0 1,070 3/8/2013
7.1.0 3,145 1/28/2013
7.0.0 867 12/31/2012
6.9.0 809 12/10/2012
6.8.0 878 10/30/2012
6.7.0 1,228 10/4/2012
6.6.0 746 9/13/2012
6.5.0 858 7/27/2012
6.4.0 783 6/27/2012
6.3.0 708 5/29/2012
6.2.0 751 5/7/2012
6.1.0 768 3/28/2012
6.0.0 746 3/2/2012
5.9.0.1 767 2/16/2012
5.9.0 1,189 2/16/2012
Show less