# C++アプリケーションを介してPOTをHTMLに変換する

> POTドキュメントからHTML形式へのサンプルC++変換コード。任意のC++アプリケーション内でのバッチPOTからHTMLへの変換にサンプルコードを使用します。

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



## C++を使用してPOTをHTMLに変換する方法

 POTをHTMLに変換するには、
 [Aspose.Slides for C ++]（https://products.aspose.com/slides/cpp）
 機能が豊富で強力で使いやすいC++プラットフォーム用のドキュメント操作および変換APIであるAPI。最新バージョンを直接ダウンロードできます。開くだけです。
 [NuGet]（https://www.nuget.org/packages/aspose.slides）
 パッケージマネージャー、検索
 Aspose.Slides.Cpp
 とインストールします。パッケージマネージャーコンソールから次のコマンドを使用することもできます。

### 指示

```cs

PM> Install-Package Aspose.Slides.Cpp

```

## C++を介してPOTをHTMLに変換する手順

 C ++開発者は、わずか数行のコードでPOTフ​​ァイルをHTMLに簡単に変換できます。

1.C++プレゼンテーションオブジェクトのAspose.Slidesを使用してPOTファイルをロードします。
1. Save（）メソッドを呼び出します。
1.出力ファイルパスを（HTML）ファイル拡張子で渡します。
1.HTMLファイルは指定されたパスに保存されます。
1.互換性のあるプログラムでHTMLファイルを開きます。

## システム要求

 C ++変換のサンプルコードを実行する前に、次の前提条件があることを確認してください。

-MicrosoftWindowsまたはWindows32ビット、Windows 64ビット、Linux64ビット用のC++ランタイム環境と互換性のあるOS。
-プロジェクトで参照されているC++DLLのAspose.Slides。

### POTからHTMLC++への変換ソースコード

```cs
// Load the POT.
SharedPtr<Presentation> prs = MakeObject<Presentation>(u"sourceFile.pot");
// Save in HTML format.
prs->Save(u"convertedFile.html", Aspose::Slides::Export::SaveFormat::Html);

```

## その他のサポートされている変換

- [POT TO BMP](https://products.aspose.com/slides/cpp/conversion/pot-to-bmp/) — ビットマップ画像
- [POT TO EMF](https://products.aspose.com/slides/cpp/conversion/pot-to-emf/) — 強化されたメタファイル形式
- [POT TO GIF](https://products.aspose.com/slides/cpp/conversion/pot-to-gif/) — グラフィカルな交換形式
- [POT TO JPEG](https://products.aspose.com/slides/cpp/conversion/pot-to-jpeg/) — JPEG画像
- [POT TO ODP](https://products.aspose.com/slides/cpp/conversion/pot-to-odp/) — OpenDocumentプレゼンテーション形式
- [POT TO OTP](https://products.aspose.com/slides/cpp/conversion/pot-to-otp/) — OpenDocument標準フォーマット
- [POT TO PDF](https://products.aspose.com/slides/cpp/conversion/pot-to-pdf/) — ポータブルドキュメントフォーマット
- [POT TO PNG](https://products.aspose.com/slides/cpp/conversion/pot-to-png/) — ポータブルネットワークグラフィックス
- [POT TO POTM](https://products.aspose.com/slides/cpp/conversion/pot-to-potm/) — MicrosoftPowerPointテンプレートファイル
- [POT TO POTX](https://products.aspose.com/slides/cpp/conversion/pot-to-potx/) — MicrosoftPowerPointテンプレートプレゼンテーション
- [POT TO PPS](https://products.aspose.com/slides/cpp/conversion/pot-to-pps/) — PowerPointのスライドショー
- [POT TO PPSM](https://products.aspose.com/slides/cpp/conversion/pot-to-ppsm/) — マクロ対応のスライドショー
- [POT TO PPSX](https://products.aspose.com/slides/cpp/conversion/pot-to-ppsx/) — PowerPointのスライドショー
- [POT TO PPT](https://products.aspose.com/slides/cpp/conversion/pot-to-ppt/) — Microsoft PowerPoint 97-2003
- [POT TO PPTM](https://products.aspose.com/slides/cpp/conversion/pot-to-pptm/) — マクロ対応のプレゼンテーションファイル
- [POT TO PPTX](https://products.aspose.com/slides/cpp/conversion/pot-to-pptx/) — XMLプレゼンテーション形式を開く
- [POT TO SVG](https://products.aspose.com/slides/cpp/conversion/pot-to-svg/) — スケーラブルベクターグラフィックス
- [POT TO TIFF](https://products.aspose.com/slides/cpp/conversion/pot-to-tiff/) — タグ付き画像形式
- [POT TO XML](https://products.aspose.com/slides/cpp/conversion/pot-to-xml/) — 拡張マークアップ言語
- [POT TO XPS](https://products.aspose.com/slides/cpp/conversion/pot-to-xps/) — XML用紙仕様
