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

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

Crée une nouvelle ressource d’image à partir de stream.

System::SharedPtr<XpsModel::XpsImage> Aspose::Page::XPS::XpsDocument::CreateImage(System::SharedPtr<System::IO::Stream> stream)
ParamètreTypeDescription
fluxSystem::SharedPtr<System::IO::Stream>Le flux contenant l’image à prendre comme ressource.

ReturnValue

Nouvelle ressource d’image.

Voir aussi

XpsDocument::CreateImage(System::String) method

Crée une nouvelle ressource d’image à partir du fichier image situé à imagePath.

System::SharedPtr<XpsModel::XpsImage> Aspose::Page::XPS::XpsDocument::CreateImage(System::String imagePath)
ParamètreTypeDescription
imagePathSystem::StringLe chemin vers l’image à prendre comme ressource.

ReturnValue

Nouvelle ressource d’image.

Voir aussi