Aspose::Page::XPS::XpsDocument::CreateImage method
XpsDocument::CreateImage(System::SharedPtr<System::IO::Stream>) method
stream から新しい画像リソースを作成します。
System::SharedPtr<XpsModel::XpsImage> Aspose::Page::XPS::XpsDocument::CreateImage(System::SharedPtr<System::IO::Stream> stream)
| パラメーター | 型 | 説明 |
|---|---|---|
| ストリーム | System::SharedPtr<System::IO::Stream> | リソースとして使用する画像を含むストリームです。 |
ReturnValue
新しい画像リソースです。
参照
- Typedef SharedPtr
- Class XpsImage
- Class Stream
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++
XpsDocument::CreateImage(System::String) method
imagePath にある画像ファイルから新しい画像リソースを作成します。
System::SharedPtr<XpsModel::XpsImage> Aspose::Page::XPS::XpsDocument::CreateImage(System::String imagePath)
| パラメーター | 型 | 説明 |
|---|---|---|
| imagePath | System::String | リソースとして使用する画像へのパスです。 |
ReturnValue
新しい画像リソースです。
参照
- Typedef SharedPtr
- Class XpsImage
- Class String
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++