Click or drag to resize

GraphDocumentExportActionsRenderAsBitmap(GraphDocument, EmbeddedObjectRenderingOptions, PixelFormat) Method

Renders the graph document as bitmap with default PixelFormat.Format32bppArgb.

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static Bitmap RenderAsBitmap(
	GraphDocument doc,
	EmbeddedObjectRenderingOptions exportOptions,
	PixelFormat pixelFormat = PixelFormat.Format32bppArgb
)

Parameters

doc  GraphDocument
The graph document used.
exportOptions  EmbeddedObjectRenderingOptions
The clipboard export options.
pixelFormat  PixelFormat  (Optional)
The pixel format for the bitmap. Default is PixelFormat.Format32bppArgb.

Return Value

Bitmap
The rendered enhanced metafile.
See Also