Click or drag to resize

GraphDocumentImageExporterExportAsImageToStream Method

Saves the project item as image to the provided stream.

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public (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.

Implements

IProjectItemImageExporterExportAsImageToStream(IProjectItem, GraphExportOptions, Stream)
See Also