Aspose::Page::XPS::XpsDocument::CreateImageBrush method
Contents
[
Hide
]XpsDocument::CreateImageBrush(System::SharedPtr<XpsModel::XpsImage>, System::Drawing::RectangleF, System::Drawing::RectangleF) method
Creates a new image brush.
System::SharedPtr<XpsModel::XpsImageBrush> Aspose::Page::XPS::XpsDocument::CreateImageBrush(System::SharedPtr<XpsModel::XpsImage> image, System::Drawing::RectangleF viewbox, System::Drawing::RectangleF viewport)
Parameter | Type | Description |
---|---|---|
image | System::SharedPtr<XpsModel::XpsImage> | An image resource. |
viewbox | System::Drawing::RectangleF | The position and dimensions of the brush’s source content. |
viewport | System::Drawing::RectangleF | The region in the containing coordinate space of the prime brush tile that is (possibly repeatedly) applied to fill the region to which the brush is applied |
ReturnValue
New image brush.
See Also
- Typedef SharedPtr
- Class XpsImageBrush
- Class XpsImage
- Class RectangleF
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++
XpsDocument::CreateImageBrush(System::String, System::Drawing::RectangleF, System::Drawing::RectangleF) method
Creates a new image brush.
System::SharedPtr<XpsModel::XpsImageBrush> Aspose::Page::XPS::XpsDocument::CreateImageBrush(System::String imagePath, System::Drawing::RectangleF viewbox, System::Drawing::RectangleF viewport)
Parameter | Type | Description |
---|---|---|
imagePath | System::String | The path to the image to take as a brush tile. |
viewbox | System::Drawing::RectangleF | The position and dimensions of the brush’s source content. |
viewport | System::Drawing::RectangleF | The region in the containing coordinate space of the prime brush tile that is (possibly repeatedly) applied to fill the region to which the brush is applied |
ReturnValue
New image brush.
See Also
- Typedef SharedPtr
- Class XpsImageBrush
- Class String
- Class RectangleF
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++