# C ++ PowerPoint API |スライドを割り当てる

> Aspose.Slides API for C ++は、C ++でPPTを作成、表示、操作、変換するためのC ++ PPTPowerPointAPIです。

Source: https://products.aspose.com/slides/ja/cpp/
Updated: 2026-08-11



<p>
 Aspose.Slides for C ++は、MicrosoftPowerPointを使用せずにC++でPPT（X）を操作、レンダリング、変換するための強力なPowerPointAPIです。 APIは、ドキュメント内のスライドのさまざまなグラフィック形式への忠実度の高いレンダリングをサポートするだけでなく、ファイルのほぼすべての可能なコンテンツを変更または作成したり、スライド上のテキストや図形をフォーマットしたりする機能を提供します。
</p>

<p>
 Aspose.Slides for C ++は、POT、PPT、PPS、POTX、PPTX、PPSX、ODPなどを含むほとんどのPowerPointおよびスライドショー形式をサポートしています。 Aspose.Slides for C ++は、これらすべての形式をPDF、HTML、XPSなどに変換することもできます。
</p>

<div class="diagram1 d1-cplus">
 <div class="d1-row">
  <div class="d1-col d1-left">
   <header>
    <i class="fa fa-table">
    </i>
    情報処理
   </header>
   <ul>
    <li>
チャートを作成する
    </li>
    <li>
SmartArtsを使用する
    </li>
    <li>
PowerPointの図形を操作する
    </li>
    <li>
ActiveXコントロールのサポート
    </li>
    <li>
Oleオブジェクトのサポート
    </li>
   </ul>
   <header>
    <i class="fa fa-text-width">
    </i>
    テキストと段落
   </header>
   <ul>
    <li>
テキストとフォーマットを管理する
    </li>
    <li>
ハイパーリンクテキストの管理
    </li>
    <li>
プレースホルダータイプを設定する
    </li>
    <li>
テキストプレースホルダーとフレーム
    </li>
   </ul>
  </div>

  <div class="d1-col d1-right">
   <header>
    <i class="fa fa-cog">
    </i>
    グラフィックとマルチメディア
   </header>
   <ul>
    <li>
MSOチャートをサポート
    </li>
    <li>
SmartArtシェイプをサポート
    </li>
    <li>
ActiveXシェイプをサポート
    </li>
    <li>
スライドトランジションの管理
    </li>
    <li>
アニメーション効果の管理
    </li>
    <li>
図形にコネクタを追加する
    </li>
    <li>
形状を回転および反転
    </li>
    <li>
シェイプの線のスタイルを管理する
    </li>
   </ul>
  </div>

 </div>

 <div class="d1-logo">
  <img width="70" height="75" alt="PowerPoint API C#" src="https://www.aspose.cloud/templates/aspose/img/products/slides/aspose_slides-for-cpp.svg"/>
  <header>
   Aspose.Slides
  </header>
  <footer>
   <small>
    <em>
     for
    </em>
    C++
   </small>
  </footer>
 </div>

</div>

<div class="diagram1 d1-cplus">
 <div class="d1-row">
  <div class="d1-col d1-left">
   <header>
    <i class="fa fa-cubes">
    </i>
    Windows32ビット
   </header>
   <br/>
   <header>
    <i class="fa fa-cubes">
    </i>
    Windows64ビット
   </header>
  </div>

  <div class="d1-col d1-right">
   <header>
    <i class="fa fa-cubes">
    </i>
    Linux64ビット
   </header>
  </div>

 </div>

 <div class="d1-logo">
  <img width="70" height="75" alt="Presentation APIs for C++" src="https://www.aspose.cloud/templates/aspose/img/products/slides/aspose_slides-for-cpp.svg"/>
  <header>
   Aspose.Slides
  </header>
  <footer>
   <small>
    <em>
     for
    </em>
    C++
   </small>
  </footer>
 </div>

</div>

<div class="diagram1 d2 d1-cplus">
 <div class="d1-row">
  <div class="d1-col d1-left">
   <header>
    <i class="fa fa-arrows-v">
    </i>
    入出力
   </header>
   <ul>
    <li>
     <b>
Microsoft PowerPoint：
     </b>
     PPT, POT, PPS, PPTX, POTX, PPSX, PPTM, PPSM, POTM
    </li>
    <li>
     <b>
OpenOffice：
     </b>
     ODP
    </li>
    <li>
     <strong>
      Open Document:
     </strong>
     OTP
    </li>
    <li>
     <strong>
      Others:
     </strong>
     TIFF, EMF, XML
    </li>
   </ul>
  </div>

  <div class="d1-col d1-right">
   <header>
    <i class="fa fa-mail-forward">
    </i>
    出力のみ
   </header>
   <ul>
    <li>
     <b>
固定レイアウト：
     </b>
     PDF, XPS
    </li>
    <li>
     <b>
画像：
     </b>
     JPEG, PNG, GIF, BMP, SVG
    </li>
    <li>
     <b>
ウェブ：
     </b>
     HTML
    </li>
   </ul>
  </div>

 </div>

 <div class="d1-logo">
  <img width="70" height="75" alt="PowerPoint Presentation API" src="https://www.aspose.cloud/templates/aspose/img/products/slides/aspose_slides-for-cpp.svg"/>
  <header>
   Aspose.Slides
  </header>
  <footer>
   <small>
    <em>
     for
    </em>
    C++
   </small>
  </footer>
 </div>

</div>

<div class="container-fluid features-section bg-gray singleproduct">
 <a class="anchor" id="features" name="features">
 </a>
 <div class="row">
  <div class="container">
   <h2 class="pr-ft">
    高度なC++PowerPoint処理ライブラリの機能
   </h2>
   <p>
   </p>
   <div class="col-lg-4">
    <em class="fa fa-floppy-o ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     プレゼンテーションをファイルまたはストリームに保存します
    </p>
   </div>
   <div class="col-lg-4">
    <em class="fa fa-random ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     プレゼンテーションを標準形式に変換する
    </p>
   </div>
   <div class="col-lg-4">
    <em class="fa fa-file-powerpoint-o ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     組み込みおよびカスタムのドキュメントプロパティを管理する
    </p>
   </div>
   <div class="col-lg-4">
    <em class="fa fa-lock ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     プレゼンテーションをパスワードで保護する
    </p>
   </div>
   <div class="col-lg-4">
    <em class="fa fa-pie-chart ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     チャートの追加、フォーマット、操作
    </p>
   </div>
   <div class="col-lg-4">
    <em class="fa fa-square-o ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     図形の追加、書式設定、操作
    </p>
   </div>
   <div class="col-lg-4">
    <em class="fa fa-film ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     スライドの追加、フォーマット、操作
    </p>
   </div>
   <div class="col-lg-4">
    <em class="fa fa-font ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     テキストの追加、フォーマット、操作
    </p>
   </div>
   <div class="col-lg-4">
    <em class="fa fa-table ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     テーブルの追加、フォーマット、操作
    </p>
   </div>
   <div class="col-lg-4">
    <em class="fa fa-check-square-o ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     プレゼンテーションをPDFおよびXPSにエクスポートする
    </p>
   </div>
   <div class="col-lg-4">
    <em class="fa fa-file-image-o ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     スライドをSVG形式でエクスポートする
    </p>
   </div>
   <div class="col-lg-4">
    <em class="fa fa-picture-o ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     プレゼンテーションに画像を追加する
    </p>
   </div>

   <div class="col-lg-4">
    <em class="fa fa-database ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     データベースからプレゼンテーションを生成する
    </p>
   </div>
   <div class="col-lg-4">
    <em class="fa fa-bar-chart ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     MSO2016チャートのサポート
    </p>
   </div>
   <div class="col-lg-4">
    <em class="fa fa-html5 ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     プレゼンテーションをHTMLとしてエクスポート
    </p>
   </div>
   <div class="col-lg-4">
    <em class="fa fa-refresh ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     スライド内のHTMLテキストをインポートおよびエクスポートする
    </p>
   </div>
   <div class="col-lg-4">
    <em class="fa fa-th-large ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     プレゼンテーションにレイアウトスライドを追加する
    </p>
   </div>
   <div class="col-lg-4">
    <em class="fa fa-key ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     保護されたプレゼンテーションを読み込む
    </p>
   </div>
   <div class="col-lg-4">
    <em class="fa fa-text-height ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     個々の凡例のフォントサイズを設定する
    </p>
   </div>
   <div class="col-lg-4">
    <em class="fa fa-area-chart ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     株価チャートを作成し、チャート画像を取得します
    </p>
   </div>
   <div class="col-lg-4">
    <em class="fa fa-cog ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     シリーズカラーの変更
    </p>
   </div>
   <div class="col-lg-4">
    <em class="fa fa-pie-chart ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     チャート領域の丸みを帯びた境界線を設定する
    </p>
   </div>
   <div class="col-lg-4">
    <em class="fa fa-cogs ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     シリーズのカテゴリの色を変更する
    </p>
   </div>
   <div class="col-lg-4">
    <em class="fa fa-font ico-blue fa-2x col-lg-2">
    </em>
    <p class="col-lg-10">
     チャートデータテーブルのフォントプロパティを設定する
    </p>
   </div>

   <div class="col-lg-12">
    <h2 class="h2title">
     PowerPointファイルをPDFまたはXPSとしてエクスポートする
    </h2>
    <p>
     独自に特別に設計されたレンダリングエンジンを備えたAspose.SlidesforC ++は、MicrosoftPowerPointに最も忠実にレンダリングします。プレゼンテーションをXPSやPDFなどの業界標準形式にエクスポートして、元のプレゼンテーションと同様の結果を得ることができます。
    </p>
    <div class="codeblock" id="code">
     <h3>
      PDFおよびXPS形式でプレゼンテーションをレンダリングする-C++
     </h3>
     <pre><code class="cpp">// load presentation to be converted

SharedPtr&lt;Presentation&gt; prs = MakeObject&lt;Presentation&gt;(dir + L"template.pptx");

// save in PDF &amp; XPS formats

prs-&gt;Save(dir + L"output.pdf", Aspose::Slides::Export::SaveFormat::Pdf);

prs-&gt;Save(dir + L"output.xps", Aspose::Slides::Export::SaveFormat::Xps);</code></pre>
    </div>
   </div>
   <div class="col-lg-12">
    <h2 class="h2title">
     プレゼンテーションスライドのコピーまたはクローン作成
    </h2>
    <p>
     Aspose.Slides for C ++には、ドキュメント内だけでなく、あるファイルから別のファイルに既存のスライドを複製またはコピーするための組み込みメソッドがあります。スライドはマスタースライドからレイアウトを継承するため、組み込みのクローン作成メソッドは、クローン作成プロセス中にマスターを自動的にコピーします。
    </p>
   </div>
   <div class="col-lg-12">
    <h2 class="h2title">
     MicrosoftPowerPointコンテンツの書式設定
    </h2>
    <p>
     ライブラリを使用すると、APIを使用しながら、ファイル内のスライドの図形やテキストをフォーマットできます。テキストは図形に関連付けられたテキストフレームを介して管理されるため、テキストはテキストフレームに関連付けられた段落と部分を使用してフォーマットされます。フォントの種類、色、サイズ、色合い、段落の配置、箇条書き、向きを管理できます。サイズ、線、位置、画像、テキスト、塗りつぶしなどの形状要素の属性を非常に簡単に操作することもできます。
    </p>
   </div>

   <div class="col-lg-12">
    <h2 class="h2title">
     形状のシリアル化
    </h2>
    <p>
     Aspose.Slides for C ++は多数の図形をサポートしていますが、APIで図形がサポートされていない場合は、既存のスライドからその図形をシリアル化して、アプリケーションの要件に応じてさらに使用できるシリアル化メソッドが提供されます。
    </p>
   </div>
  </div>
 </div>
</div>
