Aspose::Page::XPS::XpsDocument::CreateImage method

XpsDocument::CreateImage(System::SharedPtr<System::IO::Stream>) method

Erstellt eine neue Bildressource aus stream.

System::SharedPtr<XpsModel::XpsImage> Aspose::Page::XPS::XpsDocument::CreateImage(System::SharedPtr<System::IO::Stream> stream)
ParameterTypBeschreibung
StreamSystem::SharedPtr<System::IO::Stream>Der Stream, der das Bild enthält, das als Ressource verwendet werden soll.

ReturnValue

Neue Bildressource.

Siehe auch

XpsDocument::CreateImage(System::String) method

Erstellt eine neue Bildressource aus einer Bilddatei, die unter imagePath liegt.

System::SharedPtr<XpsModel::XpsImage> Aspose::Page::XPS::XpsDocument::CreateImage(System::String imagePath)
ParameterTypBeschreibung
imagePathSystem::StringDer Pfad zum Bild, das als Ressource verwendet werden soll.

ReturnValue

Neue Bildressource.

Siehe auch