Image Constructor (Document, String, String, Stream)

Aspose.Note for .NET API

Image Constructor (Document, String, String, Stream)

Initializes a new instance of the Image class.

Namespace:  Aspose.Note
Assembly:  Aspose.Note (in Aspose.Note.dll) Version: 18.1
Syntax
public Image(
	Document document,
	string fileName,
	string extension,
	Stream imageStream
)
Public Sub New ( 
	document As Document,
	fileName As String,
	extension As String,
	imageStream As Stream
)
public:
Image(
	Document^ document, 
	String^ fileName, 
	String^ extension, 
	Stream^ imageStream
)
new : 
        document : Document * 
        fileName : string * 
        extension : string * 
        imageStream : Stream -> Image

Parameters

document
Type: Aspose.NoteDocument
A parent document of the image.
fileName
Type: SystemString
A name of the image.
extension
Type: SystemString
An extension of the image.
imageStream
Type: System.IOStream
A stream which contains the image.
See Also