DocumentUtils.CreateImage
DocumentUtils.CreateImage method
Creates a rectangular path filled with an image.
public XpsPath CreateImage(string fileName, RectangleF imageBox,
ImageMode mode = ImageMode.FitToBox)
Parameter | Type | Description |
---|---|---|
fileName | String | The name of the image file. |
imageBox | RectangleF | The image box to fill with the image. |
mode | ImageMode | Image fit mode. |
Return Value
The XPS path.
See Also
- class XpsPath
- enum ImageMode
- class DocumentUtils
- namespace Aspose.Page.XPS
- assembly Aspose.Page