Click or drag to resize

ChartToolsBitmapSegmentFromBitmap Method

LightningChart .NET Help
Get a segment (sub-region) of a bitmap.

Namespace:  Arction.Wpf.Charting
Assembly:  Arction.Wpf.Charting.LightningChart (in Arction.Wpf.Charting.LightningChart.dll) Version: 10.3.1
Syntax
public static Bitmap BitmapSegmentFromBitmap(
	Bitmap bitmapIn,
	int firstColumnIndex,
	int segmentWidth,
	int firstRowIndex,
	int segmentHeight
)

Parameters

bitmapIn
Type: System.DrawingBitmap
Source bitmap.
firstColumnIndex
Type: SystemInt32
Index of first column to appear in output bitmap.
segmentWidth
Type: SystemInt32
Segment width in pixels.
firstRowIndex
Type: SystemInt32
Index of first row to appear in output bitmap.
segmentHeight
Type: SystemInt32
Segment height in pixels.

Return Value

Type: Bitmap
Bitmap segment an a new bitmap.
See Also