Browse our Products

Aspose.Slides for .NET 16.6.0 Release Notes

KeySummaryCategory
SLIDESNET-37491Restoring support for read only document properties to make changesFeature
SLIDESNET-32388Inserting video from web in presentationFeature
SLIDESNET-37410Implement FillOverlay effectFeature
SLIDESNET-37606Empty tiff is generated for exported TiffBug
SLIDESNET-37601Chart data fail to open in Edit mode on saving presentationBug
SLIDESNET-37598Incorrect rendering of EA portions (shift to the right)Bug
SLIDESNET-37594Value cannot be null on saving PPTX presentationBug
SLIDESNET-37582Value does not fall in range exception on loading presentationBug
SLIDESNET-37577Extra digits are added to the page number footer after saving the PPTBug
SLIDESNET-37576The title’s font is changed after saving a PPTBug
SLIDESNET-37575An oval shape is changed to rectangle after saving a PPTBug
SLIDESNET-37563Shape gradient fill was changed in a saved PPT fileBug
SLIDESNET-37562Bullets are added after loading and saving a PPTBug
SLIDESNET-37561A number list is changed to bullet list on saving PPTBug
SLIDESNET-37559Presentation background gets changed in saved presentationBug
SLIDESNET-37556An arrow shape becomes a triangle after loading and saving a PPTBug
SLIDESNET-37554PPT title text order is reversed after loading and savingBug
SLIDESNET-37542Images are missing in saved presentationBug
SLIDESNET-37541Text Alignment gets changed in saved presentationBug
SLIDESNET-37539Trapezoid shapes became triangle on saving presentationBug
SLIDESNET-37538Bullets and arrow shapes are changed after Loading and Saving a PPTBug
SLIDESNET-37535Images are mirrored in exported PDFBug
SLIDESNET-37534Chart unable to plot on Primary X-Axis and Secondary Y-AxisBug
SLIDESNET-37532Method Slide.GetThumbnails throws NullReferenceException for TiffOptions caseBug
SLIDESNET-37531Drawing text has wrong size in a thumbnailBug
SLIDESNET-37526Animation getting changed on saving presenatationBug
SLIDESNET-37520Extra border appears around metafile in generated PDFBug
SLIDESNET-37513NullReference exception on saving presentation to PDFNotesBug
SLIDESNET-37507Wrong BulletType and NumberedBulletStyle in loading PPT presentaionBug
SLIDESNET-37503documentProperties.HyperlinkBase can not work for PPTBug
SLIDESNET-37502PictureFillFormatEffectiveData.CopyDataFrom throws NullReferenceExceptionBug
SLIDESNET-37501Effect getting changed in the design when saving presentationBug
SLIDESNET-37495PptxReadException on loading presentationBug
SLIDESNET-37489createPortionFormatEffective() throws NullRefrenceExceptionBug
SLIDESNET-37484Improper text wrapping for generated thumbnailBug
SLIDESNET-37483IndexOutOfRangeException exception on exporting presentation to SWFBug
SLIDESNET-37479IPresentationInfo wrong detects Pps and Ppsx formatsBug
SLIDESNET-37478Throw proper exception when creating presentation from end-of-streamBug
SLIDESNET-37467IndexOutOfRangeException on load presentationBug
SLIDESNET-37458Index Out of Range exception on exporting presentation to SWFBug
SLIDESNET-37456Problem with space between bullets and textBug
SLIDESNET-37455Optimizing memory consumption while rendering PDFBug
SLIDESNET-37454Pie chart pallets colors changed on changing dataBug
SLIDESNET-37452Exception while getting properties of a tableBug
SLIDESNET-37450ArrayIndexOutOfBoundsException on PPT saveBug
SLIDESNET-37444PptReadException on presentation loadBug
SLIDESNET-37440Support for nested style tags with AddFromHtml methodBug
SLIDESNET-37422Problem with generated pdfBug
SLIDESNET-37400PptxReadException on presentation loadBug
SLIDESNET-37388Bigger image generated in svg and pdfBug
SLIDESNET-37324Vertical setting problem after AddTextFrameForOverriding methodBug
SLIDESNET-37316Numbering indentation/space trimming issueBug
SLIDESNET-37129Font height returned incorrectlyBug
SLIDESNET-37119Incorrect bullet points on load and save presentationBug
SLIDESNET-37038Incorrect bullets on presentation load and saveBug
SLIDESNET-36940Loading a PPTX is slow because of SortedDictionaryBug
SLIDESNET-36795Date format is changed on PDF renderingBug
SLIDESNET-36624Saving potx as PPTx gives repair messageBug
SLIDESNET-36575KeyNotFoundException on presentation loadBug
SLIDESNET-36553Argument exception on PdfNotes savingBug
SLIDESNET-36378Wrong Bullet.Type value after export to PPTBug
SLIDESNET-36280Wrong ParagraphFormat.Bullet.Type value after export to PPT (second condition)Bug
SLIDESNET-36275Wrong bullet type returned for the paragraph textBug
SLIDESNET-36273Error C2686 in compiling call to aspose.slides (15.2.0.0) with C++/CLIBug
SLIDESNET-36260Font Parsing exception on loading presentationBug
SLIDESNET-36255Font parsing exception on accessing the presentationBug
SLIDESNET-36245Font parsing exception on accessing the presentationBug
SLIDESNET-36211Unexpected font parsing exception when opening a PPTX fileBug
SLIDESNET-36186Bullets are improperly rendered on slide with Arabic textBug
SLIDESNET-36056Unexpected font parsing exception while opening a PPTX fileBug
SLIDESNET-35950Bullet list is not coming fine in the generated PDF fileBug
SLIDESNET-35533Extra Bullet is added after cloning the slideBug
SLIDESNET-35454End of Stream Exception on accessing the presentationBug
SLIDESNET-35347Incorrect bullet information on paragraph while reading the PPT fileBug
SLIDESNET-35168EndOfStreamException Unable to read beyond the end of the stream on accessing presentationBug
SLIDESNET-35000Improper gradient rendering in generated PDFBug
SLIDESNET-34908PPT to PDF: Faint images in PDF after conversionBug
SLIDESNET-34648Bullets are lost when saving PPT as PPTXBug
SLIDESNET-34067Numbered bullets changed to symbol in generated thumbnailBug
SLIDESNET-33783Bullet offset changes on saving presentationBug
SLIDESNET-33709The numbered bullet changed to symbol when slide thumbnail is createdBug
SLIDESNET-33607Bullets character is improperly rendered in generated presentationBug
SLIDESNET-33564Bullets are improperly rendered in converted PPTX and exported PDFBug
SLIDESNET-23829Bullet character is not rendered in generated PDFBug
SLIDESNET-22339Custom bullets failed to render in exported PDFBug

Public API Changes

New elements have been added into Aspose.Slides.LoadFormat enumeration

Aspose.Slides.LoadFormat enumeration has been extended with new elements: Potx, Pptm, Ppsm, Potm.

New methods ReadDocumentProperties, UpdateDocumentProperties, and WriteBindedPresentation have been added to IPresentationInfo, logic of the IDocumentProperties.LastSavedTime property setter has been changed

The two new methods ReadDocumentProperties and UpdateDocumentProperties have been added to IPresentationInfo interface. They provide a quick access to document properties and allow to change and update properties without loading a whole presentation.

The typical scenario load the properties, change some value and update the document can be implemented in the following way:

// read the info of presentation
IPresentationInfo info = PresentationFactory.Instance.GetPresentationInfo("presentation.pptx");

// obtain the current properties
IDocumentProperties props = info.ReadDocumentProperties();

// set the new values of Author and Title fields
props.Author = "New Author";
props.Title = "New Title";

// update the presentation with a new values
info.UpdateDocumentProperties(props);
info.WriteBindedPresentation("updated_presentation.pptx");

There’s an another way to use properties of a particular presentation as a template to update properties in other presentations:

private void UpdateByTemplate()
{
  DocumentProperties template;
  IPresentationInfo info = PresentationFactory.Instance.GetPresentationInfo("template.pptx");
  template = (DocumentProperties)info.ReadDocumentProperties();

  template.Author = "Template Author";
  template.Title = "Template Title";
  template.Category = "Template Category";
  template.Keywords = "Keyword1, Keyword2, Keyword3";
  template.Company = "Our Company";
  template.Comments = "Created from template";
  template.ContentType = "Template Content";
  template.Subject = "Template Subject";

  UpdateByTemplate("doc1.pptx", template);
  UpdateByTemplate("doc2.odp", template);
  UpdateByTemplate("doc3.ppt", template);
}

private void UpdateByTemplate(string path, IDocumentProperties template)
{
    IPresentationInfo toUpdate = PresentationFactory.Instance.GetPresentationInfo(path);
    toUpdate.UpdateDocumentProperties(template);
    toUpdate.WriteBindedPresentation(path);
}

Or a new template can be created from scratch and then used to update multiple presentations:

private void UpdateByTemplate()
{
    DocumentProperties template = new DocumentProperties()
    {
        Author = "Template Author",
        Title = "Template Title",
        Category = "Template Category",
        Keywords = "Keyword1, Keyword2, Keyword3",
        Company = "Our Company",
        Comments = "Created from template",
        ContentType = "Template Content",
        Subject = "Template Subject"
    };

    UpdateByTemplate("doc1.pptx", template);
    UpdateByTemplate("doc2.odp", template);
    UpdateByTemplate("doc3.ppt", template);
}

private void UpdateByTemplate(string path, IDocumentProperties template)
{
    IPresentationInfo toUpdate = PresentationFactory.Instance.GetPresentationInfo(path);
    toUpdate.UpdateDocumentProperties(template);
    toUpdate.WriteBindedPresentation(path);
}

Also, CreatedTime and LastPrinted properties of IDocumentProperties have been made readable and writable. IDocumentProperties.LastSavedTime has made writable too, but only if it is created as a standalone object or returned by IPresentationInfo.ReadDocumentProperties() method (not if it is returned by IPresentation.DocumentProperties property).