Click or drag to resize

GraphDocumentClipboardActionsCopyToClipboardAsBitmap Method

Copies the current graph as an bitmap image to the clipboard in native bmp format.

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void CopyToClipboardAsBitmap(
	this GraphDocument doc,
	int dpiResolution,
	BrushX backbrush,
	PixelFormat pixelformat
)

Parameters

doc  GraphDocument
Graph to copy to the clipboard.
dpiResolution  Int32
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.

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