Click or drag to resize

TradingChartCopyToClipboard Method

LightningChart .NET Help
Copy the chart to clipboard image. Custom size can be defined via width and height parameters.

Namespace:  Arction.CustomControls.Trader.WinForms
Assembly:  Arction.WinForms.TradingCharts (in Arction.WinForms.TradingCharts.dll) Version: 10.3.1
Syntax
public bool CopyToClipboard(
	ClipboardImageFormat format,
	int width,
	int height,
	bool AllowScreenCoordinateChanges = true
)

Parameters

format
Type: Arction.WinForms.ChartingClipboardImageFormat
Clipboard image format.
width
Type: SystemInt32
Width of required output
height
Type: SystemInt32
Height of required output
AllowScreenCoordinateChanges (Optional)
Type: SystemBoolean
Allows screen coordinates of certain elements to be scaled by factor of defined size and original size to keep then in place in relation to other chart elements in vector exports. If unsure, use value true. Should be set to false if annotation tables or such constructs are used. Affects only vector output (emf and svg).

Return Value

Type: Boolean
true if succeeded, false otherwise
See Also