GraphDocumentExportActionsRenderToStream(GraphDocument, Stream, GraphExportOptions) Method |
Saves the graph as into a stream.
Namespace: Altaxo.Graph.Graph3DAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static (int pixelsX, int pixelsY) RenderToStream(
this GraphDocument doc,
Stream stream,
GraphExportOptions exportOptions
)
Parameters
- doc GraphDocument
- The graph document to export.
- stream Stream
- The stream to render inot.
- exportOptions GraphExportOptions
- The export options to use.
Return Value
ValueTupleInt32,
Int32The dimensions of the image in pixels). If the rendering was unsuccessful, e.g. because no exporter was available, the tuple (0,0) is returned.
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