Click or drag to resize

IProjectItemImageExporterExportAsImageToStream Method

Saves the project item as image to the provided stream.

Namespace: Altaxo.Main
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
(int PixelsX, int PixelsY) ExportAsImageToStream(
	IProjectItem item,
	GraphExportOptions options,
	Stream toStream
)

Parameters

item  IProjectItem
The item to export, for instance an item of type GraphDocument or GraphDocument.
options  GraphExportOptions
The export options.
toStream  Stream
The stream to save the image to.

Return Value

ValueTupleInt32, Int32
The dimensions of the image in pixels.
See Also