PNG JPG BMP TIFF PPSX
Aspose.Slides  for .NET

C#でPPSX形式をマージする

MicrosoftやOpenOffice、Adobe PDFなどのソフトウェアを使用せずに、サーバー側のAspose.Slides for.NETAPIを使用したネイティブで高性能なPPSXドキュメントのマージ。

C#を使用してPPSXファイルをマージする方法

PPSXファイルをマージするために、 [Aspose.Slides for .NET](https://products.aspose.com/slides/ja/net) 機能が豊富で強力で使いやすいドキュメント操作およびC#プラットフォーム用のAPIのマージであるAPI。開ける [NuGet](https://www.nuget.org/packages/aspose.slides.net) パッケージマネージャー、検索 ** Aspose.Slides ** とインストールします。パッケージマネージャーコンソールから次のコマンドを使用することもできます。

指示


PM> Install-Package Aspose.Slides.NET

C#でPPSXファイルをマージする手順

[Aspose.Slides for .NET](https://products.aspose.com/slides/ja/net)APIとマージおよび連結する基本的なドキュメントは、わずか数行のコードで実行できます。

  1. すべてのPPSXファイルをフルパスでロードします。

  2. 1つのドキュメントをベースファイルとして作成します

  3. ファイルを1つずつ連結およびマージするための関連するメソッドを呼び出します。

  4. Save()メソッドを呼び出し、ファイル名(フルパス)とフォーマット(PPSX)をパラメーターとして渡します。

  5. これで、Microsoft Office、Adobe PDF、またはその他の互換性のあるプログラムでPPSXファイルを開いて使用できます。

システム要求

当社のAPIは、すべての主要なプラットフォームとオペレーティングシステムでサポートされています。以下のコードを実行する前に、システムに次の前提条件があることを確認してください。

-Microsoft Windows、または.NET Framework、.NET Core、Windows Azure、Mono、またはXamarinプラットフォームと互換性のあるOS -MicrosoftVisualStudioのような開発環境 -プロジェクトで参照されているAspose.Slidesfor.NETDLL-上の[ダウンロード]ボタンを使用してNuGetからインストールします

 

PPSXファイルのマージ-C#

var ps1 = new Presentation("presen1.ppsx");
    var ps2 = new Presentation("presen2.pptx");
    
    //merged Presentation 
    var mp = new Presentation("template.pptx");
    while (mp.Slides.Count > 0){
        mp.Slides.RemoveAt(0);
    }
    // master slide
    var ms = mp.Masters[0];
    
    // The first PPSX presentation is added with its own styles.
    foreach (var slide in ps1.Slides){
        mp.Slides.AddClone(slide);
    }
    
    // The second PPTX presentation is added with template presentation styles using.
    foreach (var slide in ps2.Slides){
        mp.Slides.AddClone(slide, ms, true);
    }
    
    // It is possible to save the merged presentation to any supported format.
    mp.Save("mp.pptx", SaveFormat.Pptx);
    mp.Save("mp.pptx", SaveFormat.Pdf);  

    
 
  • PDFファイルをオンラインで結合

    Python で PDF をマージする方法

    Aspose.Slides for.NETAPIについて

    Aspose.Slides APIを使用して、Microsoft PowerPointドキュメントの読み取り、書き込み、操作、およびPDF、XPS、HTML、TIFF、ODP、その他のさまざまな形式への変換を行うことができます。新しいファイルを最初から作成し、サポートされている関連する形式で保存できます。 Aspose.Slidesは、プレゼンテーション、スライド、要素を作成、解析、または操作するためのスタンドアロンAPIであり、MicrosoftやOpenOfficeなどのソフトウェアに依存しません。

    Online PPSX Merger Live Demos

    Merge PPSX documents right now by visiting our Live Demos website . The live demo has the following benefits

      No need to download Aspose API.
      No need to write any code.
      Just upload your PPSX files.
      It will be merged and concatenated instantly.

    PPSX PPSX ファイル形式とは

    PPSX, Power Point Slide Show, file are created using Microsoft PowerPoint 2007 and above for Slide Show purpose. It is an update to the PPS file format that was supported by Microsoft PowerPoint 97-2003 versions. When a PPSX file is shared with another user and opened, it starts as PowerPoint show unlike PPTX file that opens in editable mode. The sequence of slide show is the same as in the original presentation. All the slides accompany the images, sounds and other embedded media accompany the presentation slides to the PPSX during the slideshow.

    続きを読む

    その他のサポートされているマージ形式

    C#を使用すると、を含む他の多くのファイル形式をマージすることもできます。

    ODP (OpenDocumentプレゼンテーション形式)
    OTP (OpenDocument標準フォーマット)
    POT (MicrosoftPowerPointテンプレートファイル)
    POTM (MicrosoftPowerPointテンプレートファイル)
    POTX (MicrosoftPowerPointテンプレートプレゼンテーション)
    PPS (PowerPointのスライドショー)
    PPSM (マクロ対応のスライドショー)
    PPT (Microsoft PowerPoint 97-2003)
    PPTM (マクロ対応のプレゼンテーションファイル)
    PPTX (XMLプレゼンテーション形式を開く)