Aspose::Page::XPS::DocumentUtils::CreateImage method
DocumentUtils::CreateImage method
Creates a rectangular path filled with an image.
System::SharedPtr<XpsModel::XpsPath> Aspose::Page::XPS::DocumentUtils::CreateImage(System::String fileName, System::Drawing::RectangleF imageBox, ImageMode mode=Aspose::Page::XPS::ImageMode::FitToBox)
Parameter | Type | Description |
---|---|---|
fileName | System::String | The name of the image file. |
imageBox | System::Drawing::RectangleF | The image box to fill with the image. |
mode | ImageMode | Image fit mode. |
ReturnValue
The XPS path.
See Also
- Typedef SharedPtr
- Class XpsPath
- Class String
- Class RectangleF
- Enum ImageMode
- Class DocumentUtils
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++