XpsDocumentCreateImage Method (Stream)

Creates a new image resource out of stream.

Namespace:  Aspose.Page.XPS
Assembly:  Aspose.Page (in Aspose.Page.dll) Version: 20.1.0.0 (20.1)
Syntax
public XpsImage CreateImage(
	Stream stream
)

Parameters

stream
Type: System.IOStream
The stream containing the image to take as a resource.

Return Value

Type: XpsImage
New image resource.
See Also