Click or drag to resize

GraphDocumentExportActionsRenderAsEnhancedMetafileVectorFormat(GraphDocument, Double, BrushX, PixelFormat, String) Method

Saves the graph as an bitmap file into the file filename.

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static Metafile RenderAsEnhancedMetafileVectorFormat(
	this GraphDocument doc,
	double dpiResolution,
	BrushX? backbrush,
	PixelFormat pixelformat,
	string filename
)

Parameters

doc  GraphDocument
The graph document to export.
dpiResolution  Double
Resolution of the bitmap in dpi. Determines the pixel size of the bitmap.
backbrush  BrushX
Brush used to fill the background of the image. Can be null.
pixelformat  PixelFormat
Specify the pixelformat here.
filename  String
The filename of the file to save the bitmap into.

Return Value

Metafile

[Missing <returns> documentation for "M:Altaxo.Graph.Gdi.GraphDocumentExportActions.RenderAsEnhancedMetafileVectorFormat(Altaxo.Graph.Gdi.GraphDocument,System.Double,Altaxo.Drawing.BrushX,System.Drawing.Imaging.PixelFormat,System.String)"]

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