Click or drag to resize

GraphDocumentExportActionsRenderAsBitmapToStream(GraphDocument, Stream, GraphExportOptions) Method

Saves the graph as an bitmap file into the stream using the default pixelformat 32bppArgb.stream.

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static (int pixelX, int pixelY) RenderAsBitmapToStream(
	this GraphDocument doc,
	Stream stream,
	GraphExportOptions options
)

Parameters

doc  GraphDocument
The graph document to export.
stream  Stream
The stream to save the metafile into.
options  GraphExportOptions
The export options.

Return Value

ValueTupleInt32, Int32
The dimensions of the bitmap in pixels.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type GraphDocument. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also