XpsDocument.CreateImage
CreateImage(string)
Creates a new image resource out of image file located at the imagePath.
public XpsImage CreateImage(string imagePath)
Parameter | Type | Description |
---|---|---|
imagePath | String | The path to the image to take as a resource. |
Return Value
New image resource.
See Also
- class XpsImage
- class XpsDocument
- namespace Aspose.Page.XPS
- assembly Aspose.Page
CreateImage(Stream)
Creates a new image resource out of stream.
public XpsImage CreateImage(Stream stream)
Parameter | Type | Description |
---|---|---|
stream | Stream | The stream containing the image to take as a resource. |
Return Value
New image resource.
See Also
- class XpsImage
- class XpsDocument
- namespace Aspose.Page.XPS
- assembly Aspose.Page