Aspose::Page::XPS::XpsDocument::CreateImage methode

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

Maakt een nieuw afbeeldingsresource aan vanuit stream.

System::SharedPtr<XpsModel::XpsImage> Aspose::Page::XPS::XpsDocument::CreateImage(System::SharedPtr<System::IO::Stream> stream)
ParameterTypeBeschrijving
streamSystem::SharedPtr<System::IO::Stream>De stream die de afbeelding bevat die als resource moet worden genomen.

ReturnValue

Nieuwe afbeeldingsresource.

Zie ook

XpsDocument::CreateImage(System::String) method

Maakt een nieuw afbeeldingsresource aan vanuit een afbeeldingsbestand op imagePath.

System::SharedPtr<XpsModel::XpsImage> Aspose::Page::XPS::XpsDocument::CreateImage(System::String imagePath)
ParameterTypeBeschrijving
imagePathSystem::StringHet pad naar de afbeelding die als resource moet worden genomen.

ReturnValue

Nieuwe afbeeldingsresource.

Zie ook