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

新しい画像リソースです。

参照

XpsDocument::CreateImage(System::String) method

imagePath にある画像ファイルから新しい画像リソースを作成します。

System::SharedPtr<XpsModel::XpsImage> Aspose::Page::XPS::XpsDocument::CreateImage(System::String imagePath)
パラメーター説明
imagePathSystem::Stringリソースとして使用する画像へのパスです。

ReturnValue

新しい画像リソースです。

参照