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)
パラメーター説明
画像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)
パラメーター説明
imagePathSystem::Stringブラシタイルとして使用する画像へのパスです。
viewboxSystem::Drawing::RectangleFブラシのソースコンテンツの位置と寸法です。
ビューポートSystem::Drawing::RectangleFプライムブラシタイルが(必要に応じて繰り返し)適用され、ブラシが適用される領域を埋めるために使用される、包含座標空間内の領域です。

ReturnValue

新しい画像ブラシです。

参照