Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateImageBrush method

PageAPI::CreateImageBrush(System::SharedPtr<XpsModel::XpsImage>, System::Drawing::RectangleF, System::Drawing::RectangleF) method

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

System::SharedPtr<XpsModel::XpsImageBrush> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateImageBrush(System::SharedPtr<XpsModel::XpsImage> image, System::Drawing::RectangleF viewbox, System::Drawing::RectangleF viewport)
ParameterTypeالوصف
صورةSystem::SharedPtr<XpsModel::XpsImage>مورد صورة.
viewboxSystem::Drawing::RectangleFالموضع والأبعاد لمحتوى المصدر للفرشاة.
منطقة العرضSystem::Drawing::RectangleFالمنطقة في مساحة الإحداثيات المحتوية لبلاطة الفرشاة الأساسية التي تُطبق (ربما بشكل متكرر) لملء المنطقة التي تُطبق عليها الفرشاة

ReturnValue

فرشاة صورة جديدة.

انظر أيضًا

PageAPI::CreateImageBrush(System::String, System::Drawing::RectangleF, System::Drawing::RectangleF) method

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

System::SharedPtr<XpsModel::XpsImageBrush> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateImageBrush(System::String imagePath, System::Drawing::RectangleF viewbox, System::Drawing::RectangleF viewport)
ParameterTypeالوصف
imagePathSystem::Stringالمسار إلى الصورة لاستخدامها كبلاطة للفرشاة.
viewboxSystem::Drawing::RectangleFالموضع والأبعاد لمحتوى المصدر للفرشاة.
منطقة العرضSystem::Drawing::RectangleFالمنطقة في مساحة الإحداثيات المحتوية لبلاطة الفرشاة الأساسية التي تُطبق (ربما بشكل متكرر) لملء المنطقة التي تُطبق عليها الفرشاة

ReturnValue

فرشاة صورة جديدة.

انظر أيضًا