## DocumentUtils::CreateImage method


Bir görüntüyle doldurulmuş dikdörtgen bir yol oluşturur.

```cpp
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 | Açıklama |
| --- | --- | --- |
| fileName | System::String | Görüntü dosyasının adı. |
| imageBox | System::Drawing::RectangleF | Görüntüyle doldurulacak görüntü kutusu. |
| mod | ImageMode | Görüntü sığdırma modu. |

### ReturnValue

[XPS](../../) yolu.

## Ayrıca Bakınız

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsPath](../../../aspose.page.xps.xpsmodel/xpspath/)
* Class [String](../../../system/string/)
* Class [RectangleF](../../../system.drawing/rectanglef/)
* Enum [ImageMode](../../imagemode/)
* Class [DocumentUtils](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
