Click or drag to resize

GraphDocumentExportActionsRenderToFile Method

Renders the graph document to a file using the specified export options.

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static (int pixelsX, int pixelsY) RenderToFile(
	this GraphDocument doc,
	string filename,
	GraphExportOptions options
)

Parameters

doc  GraphDocument
The graph document to render.
filename  String
The target file name.
options  GraphExportOptions
The export options.

Return Value

ValueTupleInt32, Int32
The pixel dimensions of the rendered output.

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