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)
ParameterTypeالوصف
دفقSystem::SharedPtr<System::IO::Stream>التدفق الذي يحتوي على الصورة لاستخدامها كمورد.

ReturnValue

مورد صورة جديد.

انظر أيضًا

XpsDocument::CreateImage(System::String) method

ينشئ مورد صورة جديد من ملف الصورة الموجود في imagePath.

System::SharedPtr<XpsModel::XpsImage> Aspose::Page::XPS::XpsDocument::CreateImage(System::String imagePath)
ParameterTypeالوصف
imagePathSystem::Stringالمسار إلى الصورة لاستخدامها كمورد.

ReturnValue

مورد صورة جديد.

انظر أيضًا