Click or drag to resize

Picture Constructor (DocumentModel, Stream, PictureFormat, Double, Double)

Initializes a new instance of the Picture class.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 27.3.30.1119
Syntax
public Picture(
	DocumentModel document,
	Stream pictureStream,
	PictureFormat format,
	double width,
	double height
)

Parameters

document
Type: GemBox.DocumentDocumentModel
The owner document.
pictureStream
Type: System.IOStream
Stream that contains the image.
format
Type: GemBox.DocumentPictureFormat
The image file format.
width
Type: SystemDouble
The picture width (in points).
height
Type: SystemDouble
The picture height (in points).
Exceptions
ExceptionCondition
ArgumentNullExceptionpictureStream is .
See Also